/* ========================================
   PROJECT DETAIL — Styles bổ sung
   Dùng cho tất cả trang du-an/*.html
   ======================================== */

/* Header solid (sub-pages) — already a white pill, no overrides needed */
.header-solid {
    background: var(--white) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--hairline);
    box-shadow: none;
    padding: 0 !important;
}
.header-solid .logo { color: var(--ink-black) !important; }
.header-solid .nav a { color: var(--ink-black) !important; }
.header-solid .hamburger span { background: var(--ink-black) !important; }

/* ========== BREADCRUMB ========== */
.breadcrumb-nav {
    background: var(--canvas-cream);
    border-bottom: 1px solid var(--hairline);
    padding: 12px 0;
    margin-top: 80px;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.breadcrumb a { color: var(--primary); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb i { font-size: 0.7rem; color: #d1d5db; }

/* ========== PROJECT HERO ========== */
.project-hero {
    position: relative;
    height: 520px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}
.project-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}
.project-hero:hover .project-hero-bg { transform: scale(1.03); }
.project-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17,17,17,0.88) 0%, rgba(17,17,17,0.42) 52%, rgba(17,17,17,0.12) 100%);
}
.project-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 40px 0;
}
.project-hero-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}
.project-hero h1 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.project-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 16px;
}
.project-hero-meta span {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}
.hero-price {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: var(--brand-teal-deep) !important;
    background: var(--brand-green);
    padding: 4px 16px;
    border-radius: var(--radius-pill);
}

/* ========== QUICK STATS BAR ========== */
.quick-stats {
    background: var(--brand-teal-deep);
    padding: 0;
}
.quick-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    divide-x: 1px solid rgba(255,255,255,0.1);
}
.stat-item {
    padding: 20px 24px;
    border-right: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
}
.stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Euclid Circular A', 'Sofia Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.stat-value.accent { color: var(--brand-green); }

/* ========== MAIN LAYOUT ========== */
.project-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    padding: 60px 0;
    align-items: start;
}
.project-main { min-width: 0; }
.project-sidebar { position: sticky; top: 80px; }

/* ========== CONTENT SECTIONS ========== */
.content-section {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--hairline-soft);
}
.content-section:last-child { border-bottom: none; }
.content-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}
.content-section h2 i {
    width: 36px;
    height: 36px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.content-section p {
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 14px;
}
.content-section p:last-child { margin-bottom: 0; }
.content-section h3 {
    font-size: 1.1rem;
    margin: 24px 0 10px;
    color: var(--secondary);
}

/* ========== INFO TABLE ========== */
.info-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--hairline);
}
.info-table tr:nth-child(even) { background: var(--bg-light); }
.info-table td {
    padding: 13px 18px;
    border-bottom: 1px solid var(--hairline-soft);
    font-size: 0.9rem;
    vertical-align: top;
}
.info-table td:first-child {
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
    width: 40%;
}
.info-table td:last-child {
    color: var(--secondary);
    font-weight: 600;
}
.info-table tr:last-child td { border-bottom: none; }

/* ========== UTILITY GRID ========== */
.utility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 16px;
}
.utility-item {
    background: var(--bg-light);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-sm);
    padding: 14px 12px;
    text-align: center;
    transition: var(--transition);
}
.utility-item:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
}
.utility-item i {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 6px;
    display: block;
}
.utility-item span {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ========== FLOOR PLAN TABLE ========== */
.floor-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    font-size: 0.88rem;
}
.floor-table thead th {
    background: var(--brand-teal-deep);
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}
.floor-table tbody td {
    padding: 11px 16px;
    border-bottom: 1px solid var(--hairline-soft);
    vertical-align: middle;
}
.floor-table tbody tr:nth-child(even) { background: var(--bg-light); }
.floor-table tbody tr:hover { background: var(--primary-light); }
.floor-table .price-col { color: var(--brand-green-dark); font-weight: 700; }

/* ========== PAYMENT POLICY ========== */
.payment-steps {
    position: relative;
    padding-left: 28px;
    margin-top: 16px;
}
.payment-steps::before {
    content: '';
    position: absolute;
    left: 10px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--primary-light));
}
.payment-step {
    position: relative;
    margin-bottom: 20px;
    padding-left: 20px;
}
.payment-step::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 6px;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--primary);
}
.payment-step strong {
    display: block;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 2px;
}
.payment-step span {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ========== FAQ ========== */
.faq-list { margin-top: 16px; }
.faq-item {
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-light);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--secondary);
    gap: 12px;
    user-select: none;
    transition: background 0.2s;
}
.faq-question:hover { background: var(--brand-green-soft); }
.faq-question i { color: var(--brand-green-dark); flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p {
    padding: 16px 20px;
    font-size: 0.9rem;
    color: var(--text-main);
    margin: 0;
    border-top: 1px solid var(--hairline-soft);
}

/* ========== SIDEBAR FORM ========== */
.sidebar-form-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--hairline);
    overflow: hidden;
}
.sidebar-form-header {
    background: var(--brand-teal-deep);
    padding: 20px 24px;
    color: #fff;
}
.sidebar-form-header h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.sidebar-form-header p { font-size: 0.82rem; opacity: 0.85; margin: 0; }
.sidebar-form-body { padding: 24px; }
.sidebar-form-body .form-group { margin-bottom: 14px; }
.sidebar-form-body input,
.sidebar-form-body select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--hairline-strong);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-family: inherit;
    color: var(--text-main);
    background: var(--bg-light);
    transition: border-color 0.2s;
    outline: none;
}
.sidebar-form-body input:focus,
.sidebar-form-body select:focus { border-color: var(--brand-green-dark); background: #fff; }
.sidebar-form-body textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--hairline-strong);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    background: var(--bg-light);
    transition: border-color 0.2s;
    outline: none;
}
.sidebar-form-body textarea:focus { border-color: var(--brand-green-dark); background: #fff; }
.sidebar-highlights {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--hairline-soft);
}
.sidebar-hl {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.sidebar-hl i { color: var(--brand-green-dark); }

/* ========== RELATED PROJECTS ========== */
.related-section {
    background: var(--bg-light);
    padding: 60px 0;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

/* ========== MAP EMBED ========== */
.map-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    height: 320px;
    margin-top: 16px;
    border: 1px solid var(--hairline);
}
.map-wrapper iframe { width: 100%; height: 100%; border: none; }

/* ========== SURROUNDING UTILITIES ========== */
.surround-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}
.surround-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 12px;
    font-size: 0.85rem;
}
.surround-item i {
    color: var(--brand-green-dark);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.surround-item div { line-height: 1.5; }
.surround-item strong {
    display: block;
    color: var(--secondary);
    font-weight: 600;
}
.surround-item span { color: var(--text-muted); }

/* ========== SALEPRO-INSPIRED PROJECT DETAIL ========== */
.alluvia-hero {
    height: auto;
    min-height: 620px;
    align-items: center;
    padding: 86px 0 56px;
    background: var(--brand-teal-deep);
}
.alluvia-hero .project-hero-bg {
    background:
        radial-gradient(circle at 78% 22%, rgba(199,161,90,0.17), transparent 34%),
        radial-gradient(circle at 10% 84%, rgba(95,87,77,0.46), transparent 42%),
        var(--brand-teal-deep);
}
.alluvia-hero .project-hero-overlay {
    background: linear-gradient(135deg, rgba(17,17,17,0.18), rgba(17,17,17,0.82));
}
.alluvia-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.75fr);
    gap: 48px;
    align-items: center;
}
.project-hero-lead {
    max-width: 680px;
    color: rgba(255,255,255,0.72);
    font-size: 1.08rem;
    line-height: 1.65;
    margin: 8px 0 0;
}
.hero-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
.project-hero-card {
    background: var(--canvas-dark);
    border: 1px solid var(--hairline-dark);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 26px;
    color: #fff;
}
.card-eyebrow {
    color: var(--brand-green);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.hero-card-price {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--hairline-dark);
}
.hero-card-price span,
.hero-card-list span {
    display: block;
    color: rgba(255,255,255,0.52);
    font-size: 0.78rem;
    margin-bottom: 4px;
}
.hero-card-price strong {
    display: block;
    color: #fff;
    font-size: 1.35rem;
    line-height: 1.25;
}
.hero-card-list {
    display: grid;
    gap: 14px;
    padding: 18px 0;
}
.hero-card-list strong {
    color: rgba(255,255,255,0.88);
    font-size: 0.92rem;
}
.project-anchor-nav {
    position: sticky;
    top: 62px;
    z-index: 90;
    background: var(--white);
    border-bottom: 1px solid var(--hairline);
}
.project-anchor-nav .container {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-top: 12px;
    padding-bottom: 12px;
}
.project-anchor-nav a {
    white-space: nowrap;
    padding: 8px 14px;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-pill);
    color: var(--text-muted);
    font-size: 0.84rem;
    font-weight: 600;
}
.project-anchor-nav a:hover {
    border-color: var(--brand-green-dark);
    color: var(--brand-green-dark);
}
.overview-card-grid,
.product-tier-grid,
.investment-grid {
    display: grid;
    gap: 14px;
    margin: 16px 0 20px;
}
.overview-card-grid {
    grid-template-columns: repeat(4, 1fr);
}
.overview-card,
.product-tier-card,
.investment-card {
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 18px;
}
.overview-card.featured,
.product-tier-card.featured {
    background: var(--brand-green-soft);
    border-color: var(--brand-green);
}
.overview-card span,
.tier-tag {
    display: block;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.overview-card strong,
.product-tier-card strong {
    color: var(--secondary);
    font-size: 1rem;
    line-height: 1.35;
}
.project-media-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: repeat(2, minmax(140px, 1fr));
    gap: 14px;
}
.media-tile {
    min-height: 140px;
    background:
        radial-gradient(circle at 80% 20%, rgba(199,161,90,0.14), transparent 42%),
        var(--brand-teal-deep);
    color: #fff;
    border-radius: var(--radius);
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid var(--hairline-dark);
}
.media-large {
    grid-row: span 2;
    min-height: 294px;
}
.media-tile i {
    color: var(--brand-green);
    font-size: 1.6rem;
    margin-bottom: auto;
}
.media-tile strong {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 6px;
}
.media-tile span {
    color: rgba(255,255,255,0.68);
    font-size: 0.86rem;
}
.product-tier-grid {
    grid-template-columns: repeat(3, 1fr);
}
.product-tier-card h3 {
    font-size: 1.05rem;
    margin: 0 0 8px;
}
.product-tier-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 14px;
}
.project-note {
    background: var(--brand-green-soft);
    border: 1px solid var(--brand-green);
    border-radius: var(--radius);
    padding: 16px;
    margin-top: 16px;
}
.project-note p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--brand-green-dark);
    font-weight: 500;
}
.project-note i {
    margin-right: 8px;
}
.investment-grid {
    grid-template-columns: repeat(2, 1fr);
}
.investment-card i {
    color: var(--brand-green-dark);
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.investment-card strong {
    display: block;
    color: var(--secondary);
    margin-bottom: 6px;
}
.investment-card span {
    color: var(--text-muted);
    font-size: 0.88rem;
}
.sidebar-success {
    display: none;
    text-align: center;
    padding: 20px 0;
}
.sidebar-success i {
    display: block;
    font-size: 2.5rem;
    color: var(--brand-green-dark);
    margin-bottom: 10px;
}
.sidebar-success p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 6px 0 12px;
}
.direct-contact-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 16px;
    text-align: center;
    border: 1px solid var(--hairline);
}
.direct-contact-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.direct-contact-card .btn-primary {
    margin-bottom: 10px;
}
.related-icon-cover {
    background:
        radial-gradient(circle at 78% 22%, rgba(199,161,90,0.14), transparent 38%),
        var(--brand-teal-deep);
    display: flex;
    align-items: center;
    justify-content: center;
}
.related-icon-cover i {
    color: rgba(255,255,255,0.3);
    font-size: 2rem;
}

/* ========== BADGES ========== */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.badge-hot { background: var(--brand-teal-deep); color: var(--brand-green); }
.badge-new { background: var(--accent-orange); color: var(--brand-teal-deep); }
.badge-open { background: var(--brand-green-soft); color: var(--brand-green-dark); }
.badge-coming { background: #f3f4f6; color: #6b7280; }

/* ========== DANH SÁCH DỰ ÁN (du-an/index.html) ========== */
.listing-hero {
    background: var(--brand-teal-deep);
    padding: 140px 0 76px;
    color: #FFFFFF;
}
.listing-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 44px;
    align-items: center;
}
.listing-hero .breadcrumb {
    margin-bottom: 18px;
    color: rgba(255,255,255,0.48);
}
.listing-hero .breadcrumb a { color: rgba(255,255,255,0.76); }
.listing-hero .breadcrumb i { color: rgba(255,255,255,0.25); }
.listing-kicker {
    color: var(--brand-green);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.listing-hero h1 {
    color: #FFFFFF;
    margin-bottom: 18px;
    font-size: clamp(2.4rem, 5vw, 4.25rem);
    max-width: 760px;
}
.listing-hero p {
    color: rgba(255,255,255,0.72);
    font-size: 1.08rem;
    max-width: 650px;
}
.listing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
.listing-search-panel {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-lg);
    color: var(--ink-black);
}
.listing-search-panel label {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--slate-gray);
    margin-bottom: 10px;
}
.search-field {
    position: relative;
}
.search-field i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--slate-gray);
    font-size: 0.9rem;
}
.search-field input,
.filter-input {
    width: 100%;
    border: 1px solid var(--hairline-strong);
    background: var(--lifted-cream);
    color: var(--ink-black);
    border-radius: var(--radius-sm);
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}
.search-field input {
    padding: 14px 18px 14px 44px;
    font-size: 0.95rem;
}
.filter-input {
    max-width: 230px;
    padding: 9px 16px;
    font-size: 0.85rem;
}
.search-field input:focus,
.filter-input:focus {
    border-color: var(--brand-green-dark);
    background: var(--white);
}
.quick-picks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.quick-picks button {
    border: 1px solid var(--hairline);
    background: var(--lifted-cream);
    color: var(--ink-black);
    border-radius: var(--radius-pill);
    padding: 7px 13px;
    font: inherit;
    font-size: 0.78rem;
    cursor: pointer;
    transition: var(--transition);
}
.quick-picks button:hover {
    background: var(--brand-green);
    color: var(--brand-teal-deep);
}
.listing-panel-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 22px;
}
.listing-panel-stats div {
    background: var(--brand-green-soft);
    border-radius: var(--radius-sm);
    padding: 14px 10px;
    text-align: center;
}
.listing-panel-stats strong {
    display: block;
    font-size: 1.4rem;
    line-height: 1;
}
.listing-panel-stats span {
    display: block;
    margin-top: 6px;
    color: var(--slate-gray);
    font-size: 0.75rem;
}

.filter-bar {
    background: var(--white);
    border-bottom: 1px solid var(--hairline);
    padding: 18px 0;
    position: sticky;
    top: 62px;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.filter-bar-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.filter-bar-inner label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}
.filter-select {
    padding: 9px 14px;
    border: 1px solid var(--hairline-strong);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-main);
    background: var(--lifted-cream);
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}
.filter-select:focus { border-color: var(--brand-green-dark); }
.filter-count {
    margin-left: auto;
    font-size: 0.82rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.listing-section {
    padding: 34px 0 70px;
    background: var(--canvas-cream);
}
.listing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 0;
}
.listing-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--hairline);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.listing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.listing-card-img {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--brand-teal-deep);
}
.listing-icon-cover {
    display: flex;
    align-items: center;
    justify-content: center;
}
.listing-icon-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(243,240,238,0.08), transparent 48%),
        radial-gradient(circle at 70% 30%, rgba(199,161,90,0.18), transparent 38%);
}
.listing-icon-cover > i {
    position: relative;
    z-index: 1;
    font-size: 3.5rem;
    color: rgba(243,240,238,0.34);
}
.listing-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.listing-card:hover .listing-card-img img { transform: scale(1.05); }
.listing-card-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    gap: 6px;
}
.listing-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.listing-developer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.listing-developer img { height: 22px; width: auto; object-fit: contain; }
.listing-developer span { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.listing-card-body h3 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 8px;
    font-family: 'Euclid Circular A', 'Sofia Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.listing-location {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 14px;
}
.listing-location i { color: var(--brand-green-dark); }
.listing-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.listing-spec-item {
    font-size: 0.78rem;
    color: var(--text-muted);
    background: var(--bg-light);
    border-radius: var(--radius-pill);
    padding: 4px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.listing-spec-item i { color: var(--brand-green-dark); font-size: 0.7rem; opacity: 0.85; }
.listing-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
}
.listing-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--hairline-soft);
}
.listing-price { font-size: 0.82rem; color: var(--text-muted); }
.listing-price strong { display: block; font-size: 1.05rem; color: var(--ink-black); font-weight: 700; }
.btn-listing {
    background: var(--brand-green);
    color: var(--brand-teal-deep);
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-listing:hover { background: #D7B874; transform: translateY(-1px); }

/* CTA Banner */
.listing-cta {
    background: var(--brand-teal-deep);
    padding: 50px 0;
    text-align: center;
    color: #fff;
}
.listing-cta h2 { color: #fff; font-size: 1.6rem; margin-bottom: 10px; }
.listing-cta p { color: rgba(255,255,255,0.8); margin-bottom: 24px; }
.listing-cta .btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-white {
    background: var(--brand-green);
    color: var(--brand-teal-deep);
    padding: 13px 26px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.btn-white:hover { background: #D7B874; transform: translateY(-2px); }
.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.6);
    padding: 13px 26px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .project-layout { grid-template-columns: 1fr; }
    .project-sidebar { position: static; }
    .quick-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: 1fr 1fr; }
    .alluvia-hero-grid { grid-template-columns: 1fr; }
    .overview-card-grid { grid-template-columns: repeat(2, 1fr); }
    .listing-hero-grid { grid-template-columns: 1fr; }
    .listing-search-panel { max-width: 620px; }
    .filter-bar { top: 80px; }
}
@media (max-width: 768px) {
    .project-hero { height: 380px; }
    .alluvia-hero {
        height: auto;
        min-height: 0;
        padding: 96px 0 42px;
    }
    .project-hero h1 { font-size: 1.6rem; }
    .alluvia-hero .project-hero h1,
    .alluvia-hero h1 { font-size: 2.25rem; }
    .project-hero-meta { gap: 12px; }
    .quick-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .surround-list { grid-template-columns: 1fr; }
    .project-anchor-nav { position: static; }
    .project-media-grid,
    .product-tier-grid,
    .investment-grid { grid-template-columns: 1fr; }
    .media-large { grid-row: auto; min-height: 220px; }
    .floor-table { font-size: 0.78rem; }
    .floor-table thead th, .floor-table tbody td { padding: 9px 10px; }
    .related-grid { grid-template-columns: 1fr; }
    .listing-hero { padding: 110px 0 48px; }
    .listing-hero-actions { flex-direction: column; }
    .listing-hero-actions a { justify-content: center; }
    .listing-search-panel { padding: 22px; }
    .listing-panel-stats { grid-template-columns: 1fr 1fr 1fr; }
    .listing-grid { grid-template-columns: 1fr; }
    .filter-bar-inner { gap: 8px; }
    .filter-bar { top: 72px; position: static; }
    .filter-input { max-width: none; }
    .filter-select { flex: 1 1 150px; }
    .filter-count { display: none; }
}
@media (max-width: 480px) {
    .quick-stats-grid { grid-template-columns: 1fr 1fr; }
    .overview-card-grid { grid-template-columns: 1fr; }
    .listing-card-img { height: 180px; }
    .listing-panel-stats { grid-template-columns: 1fr; }
    .listing-footer { align-items: stretch; flex-direction: column; }
    .btn-listing { justify-content: center; }
}

/* ========== SALEPRO LAYOUT ========== */
.salepro-layout {
    font-family: inherit;
    color: var(--text-main);
    line-height: 1.6;
}

/* Nav Tabs & Sticky Nav */
.sticky-nav {
    position: sticky;
    top: 60px; /* Adjust according to header */
    z-index: 100;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-bottom: 1px solid var(--hairline);
}
.sticky-nav .nav {
    display: flex;
    overflow-x: auto;
    padding: 10px 0;
    gap: 15px;
    list-style: none;
    margin: 0;
}
.sticky-nav .nav-link {
    white-space: nowrap;
    padding: 8px 15px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.sticky-nav .nav-link.active, .sticky-nav .nav-link:hover {
    background: var(--brand-green-soft);
    color: var(--brand-green-dark);
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
}
.hero-swiper {
    width: 100%;
    height: clamp(520px, 62vw, 720px);
    background: var(--brand-teal-deep);
}
.hero-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-swiper .swiper-slide {
    height: auto;
}
.hero-swiper .swiper-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(17,17,17,0.84), rgba(17,17,17,0.44) 48%, rgba(17,17,17,0.12)),
        linear-gradient(0deg, rgba(17,17,17,0.38), rgba(17,17,17,0));
    pointer-events: none;
}
.masterise-hero-slider .hero-swiper .swiper-slide::after,
.grand-coast-hero-slider .hero-swiper .swiper-slide::after {
    display: none;
}
.masterise-hero-slider .hero-swiper,
.grand-coast-hero-slider .hero-swiper {
    background: #fff;
}
.project-hero-caption {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    color: #fff;
    pointer-events: none;
}
.project-hero-caption .container {
    pointer-events: auto;
}
.hero-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: rgba(199,161,90,0.16);
    border: 1px solid rgba(199,161,90,0.34);
    color: var(--brand-green);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.project-hero-caption h1 {
    max-width: 780px;
    margin: 18px 0 16px;
    color: #fff;
    font-size: clamp(2.25rem, 5vw, 4.5rem);
    line-height: 1.08;
    font-weight: 600;
}
.project-hero-caption p {
    max-width: 600px;
    margin: 0;
    color: rgba(255,255,255,0.78);
    font-size: 1.08rem;
    line-height: 1.6;
}

/* Common Helpers */
.section-spacing {
    padding: 60px 0;
}
.light { background: #fff; }
.dark { background: var(--brand-teal-deep); }
.text-white { color: #fff; }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-4 { gap: 1rem; }
.w-full { width: 100%; }
@media (min-width: 768px) {
    .md-flex-1 { flex: 1; min-width: 0; }
}
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 1024px) {
    .lg-grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .lg-col-span-5 { grid-column: span 5 / span 5; }
    .lg-col-span-7 { grid-column: span 7 / span 7; }
}
.items-center { align-items: center; }

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--brand-teal-deep);
}
.section-title .title-highlight {
    position: relative;
    display: inline-block;
}
.section-title .title-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--brand-green);
}
.text-center .title-highlight::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 30px;
}

/* Info Cards */
.modern-info-card {
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.modern-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    border-color: var(--brand-green);
}
.info-icon-wrapper {
    width: 50px;
    height: 50px;
    background: var(--brand-green-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.info-icon {
    font-size: 1.5rem;
    color: var(--brand-green-dark);
}
.info-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 5px;
}
.info-value {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--secondary);
}

/* Desc Text Half BG */
.desc-text-halfbg {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin: 0 15px;
}
.overview-description ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.overview-description li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}
.overview-description li::before {
    content: "•";
    color: var(--brand-green);
    font-weight: bold;
    position: absolute;
    left: 0;
}
.overview-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--hairline-dark);
    box-shadow: var(--shadow-lg);
}
.overview-image-wrapper img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.overview-image-wrapper:hover img {
    transform: scale(1.05);
}
.bg-wrap {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
}
.bg-wrap .bg {
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

/* Nav Tabs */
.modern-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}
.modern-tabs .nav-item {
    cursor: pointer;
}
.modern-tabs .nav-link {
    display: block;
    padding: 10px 20px;
    background: #f3f4f6;
    color: var(--text-muted);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    text-decoration: none;
}
.modern-tabs .nav-link.active, .modern-tabs .nav-link:hover {
    background: var(--brand-teal-deep);
    color: #fff;
}
.tab-content .tab-pane {
    display: none;
}
.tab-content .tab-pane.active {
    display: block;
    animation: fadeIn 0.5s;
}
@keyframes fadeIn { from {opacity: 0;} to {opacity: 1;} }

/* Product & Amenity Cards */
.product-card, .amenity-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    border: 1px solid var(--hairline);
    transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover, .amenity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.card-image-wrapper {
    position: relative;
    padding-top: 66.66%; /* 3:2 aspect ratio */
}
.card-image-wrapper img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
}
.card-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17,17,17,0), rgba(17,17,17,0.16));
    pointer-events: none;
}
.product-card .card-body {
    padding: 20px;
}
.product-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 15px;
    color: var(--secondary);
}
.product-features ul {
    list-style: none;
    padding: 0; margin: 0;
    font-size: 0.9rem;
    color: var(--text-main);
}
.product-features li {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--hairline);
}
.product-features li:last-child {
    border-bottom: none; margin-bottom: 0; padding-bottom: 0;
}

.amenity-card {
    position: relative;
}
.amenity-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}
.amenity-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Contact Card */
.contact-card {
    background: var(--brand-teal-deep);
    color: #fff;
    border-radius: 16px;
    padding: 28px;
    text-align: left;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto minmax(220px, 1fr) auto;
    align-items: center;
    gap: 22px;
    min-height: 100%;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: rgba(17, 17, 17, 0.14) 0 18px 38px -14px;
}
.contact-icon-wrapper {
    width: 58px;
    height: 58px;
    background: rgba(199,161,90,0.12);
    border: 1px solid rgba(199,161,90,0.22);
    border-radius: 50%;
    display: inline-flex;
    align-items: center; justify-content: center;
    margin: 0;
}
.contact-icon {
    font-size: 1.5rem;
    color: var(--brand-green);
}
.contact-name {
    color: rgba(255,255,255,0.76);
    font-size: 0.98rem;
    line-height: 1.45;
    margin: 0 0 8px;
    font-weight: 600;
}
.contact-value {
    display: block;
    font-size: clamp(1.85rem, 3vw, 2.55rem);
    line-height: 1.05;
    font-weight: 700;
    color: var(--brand-green);
    text-decoration: none;
    margin: 0;
    letter-spacing: -0.03em;
    white-space: nowrap;
}
.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 22px;
    background: var(--brand-green);
    color: var(--brand-teal-deep);
    font-weight: 600;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: opacity 0.3s;
    white-space: nowrap;
}
.btn-contact:hover {
    opacity: 0.9;
}
.contact-card .contact-action {
    justify-self: end;
}
.contact-card .mt-4 {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 4px !important;
    padding: 14px !important;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px !important;
    color: rgba(255,255,255,0.88);
    font-size: 0.9rem !important;
    line-height: 1.45;
}
.contact-card .mt-4 > div {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.contact-card .fa-check {
    color: var(--brand-green);
    margin-top: 3px;
}
.contact-card .text-brand-green {
    color: var(--brand-green) !important;
}
.contact-card .btn-contact i {
    color: var(--brand-teal-deep) !important;
}
.modern-card .form-control {
    min-height: 48px;
    border-radius: 10px !important;
    border: 1px solid var(--hairline-strong) !important;
    padding: 0 14px !important;
    color: var(--ink-black);
    font-family: inherit;
    font-size: 0.95rem;
    background: #fff;
}
.modern-card .form-control:focus {
    outline: none;
    border-color: var(--brand-green-dark) !important;
    box-shadow: 0 0 0 3px rgba(199,161,90,0.14);
}
.modern-card button[type="submit"] {
    border-radius: var(--radius-pill) !important;
    min-height: 48px;
    letter-spacing: 0;
}
.lg-col-span-7 > .modern-card {
    border-radius: 16px !important;
    padding: 28px !important;
    box-shadow: var(--shadow-sm);
}
.swiper-pagination {
    position: static;
    margin-top: 15px;
}

@media (max-width: 767px) {
    .hero-swiper {
        height: 560px;
    }
    .project-hero-caption {
        align-items: flex-end;
        padding-bottom: 76px;
    }
    .project-hero-caption h1 {
        margin-top: 14px;
        font-size: 2.2rem;
    }
    .project-hero-caption p {
        font-size: 0.96rem;
    }
    .overview-image-wrapper img {
        height: 280px;
    }
    .contact-card {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
        padding: 24px;
        gap: 16px;
    }
    .contact-card .contact-action {
        justify-self: center;
    }
    .contact-value {
        white-space: normal;
    }
    .contact-card .mt-4 {
        grid-template-columns: 1fr;
        text-align: left;
    }
}
