/* =====================================================================
   Home-05 Redesign — Premium Polish Edition
   ===================================================================== */

/* ─────────── CSS Variables ─────────── */
:root {
    --h5-red: #E8291C;
    --h5-navy: #0D1827;
    --h5-dark: #1a2332;
    --h5-text: #6b7280;
    --h5-light-bg: #f8f9fa;
    --h5-white: #fff;
    --h5-border: #e9ecef;
    --h5-radius: 14px;
    --h5-shadow: 0 4px 24px rgba(0, 0, 0, .08);
}

/* ─────────── Base ─────────── */
section {
    padding: 90px 0;
}

.h5-section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--h5-red);
    text-transform: uppercase;
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.h5-section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 2px;
    background: var(--h5-red);
}

.h5-section-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--h5-navy);
    margin-bottom: 44px;
    line-height: 1.2;
}

.h5-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.h5-swiper-nav {
    display: flex;
    gap: 10px;
}

.h5-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid #dee2e6;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .25s;
    font-size: 14px;
    color: var(--h5-navy);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

.h5-nav-btn:hover {
    background: var(--h5-red);
    color: #fff;
    border-color: var(--h5-red);
    box-shadow: 0 4px 16px rgba(232, 41, 28, .3);
}

.h5-btn-red {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--h5-red);
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all .2s;
    box-shadow: 0 4px 18px rgba(232, 41, 28, .35);
}

.h5-btn-red:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(232, 41, 28, .4);
    color: #fff;
}

/* ─────────── (1) HERO ─────────── */
.h5-hero {
    position: relative;
    height: 78vh;
    min-height: 560px;
    max-height: 820px;
    overflow: visible;
    /* allow search bar to overlap the bottom edge */
    margin-top: -80px;
    /* extend behind fixed header */
    margin-bottom: 0;
    padding: 0 !important;
    /* override global section padding */
}

/* Clip only the swiper, not the whole hero */
.h5-hero-swiper {
    height: 100%;
    overflow: hidden;
}

.h5-hero-swiper .swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.h5-hero-swiper .swiper-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Light overlay so the bright interior image shows through */
    background: linear-gradient(to right, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .06) 55%, rgba(0, 0, 0, 0) 100%);
}

/* Prev / Next arrows (inside hero, both edges) */
.h5-hero-prev,
.h5-hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, .22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: background .2s;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, .3);
    user-select: none;
}

.h5-hero-prev {
    left: 16px;
}

.h5-hero-next {
    right: 16px;
}

.h5-hero-prev:hover,
.h5-hero-next:hover {
    background: rgba(255, 255, 255, .42);
}

.h5-hero-prev.swiper-button-disabled,
.h5-hero-next.swiper-button-disabled {
    opacity: .4;
    pointer-events: none;
}

/* Hero property card — left side, vertically centered */
.h5-hero-card {
    position: absolute;
    top: 50%;
    left: 72px;
    transform: translateY(-50%);
    z-index: 15;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(20px);
    border-radius: 14px;
    padding: 22px 24px;
    width: 288px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, .20);
    border: 1px solid rgba(255, 255, 255, .9);
}

.h5-hero-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    background: var(--h5-navy);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.h5-hero-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--h5-navy);
    margin-bottom: 6px;
    line-height: 1.3;
}

.h5-hero-title a {
    color: inherit;
    text-decoration: none;
}

.h5-hero-title a:hover {
    color: var(--h5-red);
}

.h5-hero-address {
    font-size: 12px;
    color: #888;
    margin-bottom: 12px;
}

.h5-hero-address i {
    color: var(--h5-red);
    margin-right: 4px;
}

.h5-hero-features {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.h5-hero-features span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--h5-dark);
}

.h5-hero-features i {
    font-size: 15px;
    color: var(--h5-dark);
}

.h5-hero-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 10px 0;
}

.h5-hero-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.h5-hero-agent {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.h5-hero-agent img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #f0f0f0;
}

.h5-hero-agent-role {
    font-size: 10px;
    color: #aaa;
    line-height: 1.2;
}

.h5-hero-agent-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--h5-navy);
}

.h5-hero-price {
    font-size: 18px;
    font-weight: 900;
    color: var(--h5-red);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════
   (2) PROPERTY SEARCH MODULE  (ps-)
═══════════════════════════════════════ */

.ps-search-section {
    position: relative;
    z-index: 50;
    background: transparent;
    margin-top: -38px;
    padding: 0 !important;
}

.ps-wrapper {
    max-width: 1400px;
    width: 75%;
    margin: 0 auto;
}

/* ── TABS ── */
.ps-tabs {
    display: flex;
}

.ps-tab {
    padding: 10px 28px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    background: #e8e8e8;
    color: #999;
    transition: background .2s, color .2s;
}

.ps-tab.active {
    background: #e31c25;
    color: #fff;
    border-radius: 8px 0 0 0;
}

.ps-tab:last-child {
    border-radius: 0 8px 0 0;
}

.ps-tab:not(.active):hover {
    background: #d8d8d8;
    color: #555;
}

/* ── CARD ── */
.ps-card {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    border-radius: 0 12px 12px 12px;
    overflow: visible;
}

/* ── SEARCH BAR ── */
.ps-bar {
    display: flex;
    align-items: stretch;
    min-height: 72px;
    border-bottom: 1px solid #f0f0f0;
}

.ps-field {
    flex: 1;
    padding: 14px 24px;
    border-right: 1px solid #f0f0f0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ps-field-label {
    font-size: 10px;
    font-weight: 500;
    color: #aaa;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.ps-bare-input {
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    background: transparent;
    width: 100%;
    padding: 0;
}

.ps-bare-input::placeholder {
    color: #1a1a1a;
    font-weight: 700;
}

.ps-bare-select {
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 0 center;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    padding-right: 18px;
    cursor: pointer;
    padding: 0;
    padding-right: 18px;
}

/* Advanced button */
.ps-adv-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 14px 24px;
    background: transparent;
    border: none;
    border-right: 1px solid #f0f0f0;
    cursor: pointer;
    color: #e31c25;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    transition: background .2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.ps-adv-btn svg {
    flex-shrink: 0;
}

.ps-adv-btn:hover {
    background: #fff5f5;
}

/* Search button */
.ps-search-btn {
    background: #e31c25;
    color: #fff;
    border: none;
    padding: 0 36px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .04em;
    cursor: pointer;
    transition: background .2s;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 0 0 0 0;
}

.ps-search-btn:hover {
    background: #c8161e;
}

/* ── ADVANCED PANEL ── */
.ps-adv-panel {
    display: none;
    border-top: 1px solid #f0f0f0;
    padding: 32px 36px 28px;
    animation: psSlideDown .25s ease;
    border-radius: 0 0 12px 12px;
}

.ps-adv-panel.open {
    display: block;
}

@keyframes psSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* ── RANGE LABEL ── */
.ps-range-label {
    font-size: 13.5px;
    font-weight: 400;
    color: #555;
    margin-bottom: 18px;
}

.ps-range-label strong {
    font-weight: 700;
    color: #1a1a1a;
}

/* ── noUiSlider skin ── */
.ps-slider-wrap {
    margin-bottom: 28px;
}

.ps-slider-wrap .noUi-target {
    background: #2c2c2c;
    border: none;
    border-radius: 100px;
    box-shadow: none;
    height: 2px;
}

.ps-slider-wrap .noUi-connect {
    background: #111;
    border-radius: 100px;
}

.ps-slider-wrap .noUi-handle {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 2.5px solid #111 !important;
    box-shadow: none !important;
    top: 0px !important;
    right: -12px !important;
    cursor: grab;
}

.ps-slider-wrap .noUi-handle:active {
    cursor: grabbing;
}

.ps-slider-wrap .noUi-handle::before,
.ps-slider-wrap .noUi-handle::after {
    display: none !important;
}

.ps-slider-wrap .noUi-handle:focus {
    outline: none;
}

.ps-slider-wrap .noUi-tooltip {
    display: none;
}

/* ── ADVANCED DROPDOWNS ── */
.ps-adv-dropdowns {
    margin-bottom: 24px;
}

.ps-drop-label {
    font-size: 11px;
    font-weight: 500;
    color: #aaa;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.ps-drop-select {
    width: 100%;
    height: 48px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 0 16px;
    padding-right: 40px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    outline: none;
    transition: border-color .2s;
}

.ps-drop-select:focus {
    border-color: #e31c25;
}

/* ── AMENITIES ── */
.ps-amenities-title {
    font-size: 15px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 14px;
}

.ps-amenities-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px 16px;
}

@media (max-width: 992px) {
    .ps-amenities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.ps-chk-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #555;
    cursor: pointer;
    user-select: none;
    margin: 0;
    font-weight: 400;
}

.ps-chk-label:hover {
    color: #1a1a1a;
}

.ps-chk-box {
    width: 16px;
    height: 16px;
    border: 1.5px solid #bbb;
    border-radius: 3px;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: border-color .15s, background .15s;
}

.ps-chk-box:checked {
    background: #e31c25;
    border-color: #e31c25;
}

.ps-chk-box:checked::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 0px;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(40deg);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .ps-wrapper {
        width: 95%;
    }

    .ps-bar {
        flex-wrap: wrap;
    }

    .ps-field {
        flex: 1 1 50%;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }

    .ps-adv-btn {
        padding: 14px 16px;
    }

    .ps-search-btn {
        width: 100%;
        padding: 16px;
        border-radius: 0 0 12px 12px;
    }

    .ps-adv-panel {
        padding: 24px 20px;
    }
}



/* ─────────── (3) OUR SERVICES (svc-) ─────────── */
.svc-section {
    background: #ebebeb;
    padding: 90px 0;
}

.svc-header {
    text-align: center;
    margin-bottom: 56px;
}

.svc-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--h5-red);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.svc-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--h5-navy);
    line-height: 1.25;
    margin: 0;
    letter-spacing: 0.02em;
}

/* 3-column grid with gap — matches reference spacing */
.svc-grid {
    --bs-gutter-x: 30px;
    --bs-gutter-y: 0;
    align-items: stretch;
}

/* All cards share base padding + centering */
.svc-card {
    padding: 48px 36px 44px;
    text-align: center;
    background: transparent;
    border-radius: 12px;
    transition: background .25s, box-shadow .25s;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Outer cards: hover gains the white + shadow */
.svc-card:hover {
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .08);
}

/* Center card — always white + soft shadow (featured) */
.svc-card--featured {
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .08);
}

/* SVG icon */
.svc-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
}

.svc-icon-wrap svg {
    width: 96px;
    height: 96px;
}

.svc-card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--h5-navy);
    margin-bottom: 14px;
    line-height: 1.3;
}

.svc-card-desc {
    font-size: 15px;
    color: #5c6368;
    line-height: 1.78;
    margin-bottom: 22px;
    flex: 1;
}

.svc-learn-more {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--h5-navy);
    text-decoration: none;
    letter-spacing: .02em;
    transition: color .2s;
    border-bottom: none;
}

.svc-learn-more:hover {
    color: var(--h5-red);
    text-decoration: underline;
}

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

    .svc-card {
        padding: 36px 24px;
    }

    .svc-title {
        font-size: 26px;
    }

    .svc-card--featured {
        margin-top: 0;
    }
}



/* ─────────── (4) FEATURED PROPERTIES (fp-) ─────────── */
.fp-section {
    background: #fff;
    padding: 90px 0 80px;
}

.fp-header {
    text-align: center;
    margin-bottom: 56px;
}

.fp-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--h5-red);
    text-transform: uppercase;
    margin-bottom: 14px;
}

.fp-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--h5-navy);
    line-height: 1.3;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* ── Card ─────────────────────────────── */
.fp-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.fp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

/* ── Image area ─────────────────────── */
.fp-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.fp-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fp-card:hover .fp-img-wrap img {
    transform: scale(1.06);
}

/* ── Stacked badges top-left ──────── */
.fp-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.fp-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 4px;
    line-height: 1;
}

.fp-badge--featured {
    background: #0d9f6e;
    color: #fff;
}

.fp-badge--status {
    background: var(--h5-red);
    color: #fff;
}

/* ── NEW LISTING bottom-left chip ─── */
.fp-new-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--h5-navy);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 2;
}

/* ── 3 Action buttons top-right ─────── */
.fp-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.fp-card:hover .fp-actions {
    opacity: 1;
}

.fp-action-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.88);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--h5-navy);
    font-size: 13px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    backdrop-filter: blur(6px);
    padding: 0;
}

.fp-action-btn:hover,
.fp-action-btn.active {
    background: var(--h5-red);
    color: #fff;
    transform: scale(1.1);
}

.fp-action-btn.fp-wishlist.wishlisted {
    background: var(--h5-red);
    color: #fff;
}

/* ── Card body ────────────────────── */
.fp-body {
    padding: 16px 18px 14px;
    flex: 1;
}

.fp-card-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 7px;
    line-height: 1.35;
}

.fp-card-title a {
    color: var(--h5-navy);
    text-decoration: none;
    transition: color 0.2s;
}

.fp-card-title a:hover {
    color: var(--h5-red);
}

.fp-address {
    color: #9ca3af;
    font-size: 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 5px;
    line-height: 1.4;
}

.fp-address .bi {
    color: var(--h5-red);
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 1px;
}

.fp-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.fp-spec {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.fp-spec .bi {
    font-size: 13px;
    color: var(--h5-navy);
}

/* ── Card footer ─────────────────── */
.fp-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px 14px;
    border-top: 1px solid #f0f0f0;
}

.fp-agent {
    font-size: 13px;
    color: var(--h5-red);
    font-weight: 600;
}

.fp-price {
    font-size: 18px;
    font-weight: 900;
    color: var(--h5-navy);
}

/* ── View All button ─────────────── */
.fp-cta-wrap {
    text-align: center;
    margin-top: 52px;
}

.fp-cta-btn {
    display: inline-block;
    background: var(--h5-red);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 13px 32px;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: background 0.25s, transform 0.2s;
}

.fp-cta-btn:hover {
    background: #d81e1e;
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .fp-title {
        font-size: 22px;
    }

    .fp-img-wrap {
        height: 180px;
    }
}

@media (max-width: 575px) {
    .fp-section {
        padding: 60px 0;
    }

    .fp-title {
        font-size: 20px;
    }
}

/* ─────────── (4-old) FEATURED PROPERTIES SWIPER (h5-properties-section) ─────────── */
.h5-properties-section {
    background: #fff;
}


.h5-prop-card {
    border-radius: var(--h5-radius);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--h5-border);
    transition: all .3s;
    box-shadow: var(--h5-shadow);
    cursor: pointer;
}

.h5-prop-card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, .12);
    transform: translateY(-4px);
}

.h5-prop-img-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.h5-prop-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.h5-prop-card:hover .h5-prop-img-wrap img {
    transform: scale(1.06);
}

.h5-prop-status {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 14px;
    background: var(--h5-red);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    border-radius: 5px;
    text-transform: uppercase;
}

.h5-prop-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, .95);
    color: var(--h5-navy);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    border-radius: 5px;
    text-transform: uppercase;
}

.h5-prop-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: opacity .25s;
}

.h5-prop-card:hover .h5-prop-actions {
    opacity: 1;
}

.h5-prop-action {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, .9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--h5-navy);
    font-size: 14px;
    text-decoration: none;
    transition: all .2s;
    backdrop-filter: blur(8px);
}

.h5-prop-action:hover {
    background: var(--h5-red);
    color: #fff;
}

.h5-prop-body {
    padding: 20px 22px 14px;
}

.h5-prop-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 7px;
    line-height: 1.35;
}

.h5-prop-title a {
    color: var(--h5-navy);
    text-decoration: none;
}

.h5-prop-title a:hover {
    color: var(--h5-red);
}

.h5-prop-address {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.h5-prop-address i {
    color: var(--h5-red);
    font-size: 13px;
    flex-shrink: 0;
}

.h5-prop-features {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.h5-prop-features span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.h5-prop-features i {
    font-size: 15px;
    color: var(--h5-dark);
}

.h5-prop-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 22px 18px;
    border-top: 1px solid var(--h5-border);
    margin-top: 14px;
}

.h5-prop-agent {
    font-size: 13px;
    color: var(--h5-red);
    font-weight: 700;
}

.h5-prop-price {
    font-size: 19px;
    font-weight: 900;
    color: var(--h5-navy);
}

.h5-prop-pagination {
    text-align: center;
    margin-top: 32px;
}

.h5-prop-pagination .swiper-pagination-bullet {
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background: #e0e0e0;
    opacity: 1;
    margin: 0 4px;
    transition: all .2s;
}

.h5-prop-pagination .swiper-pagination-bullet-active {
    background: var(--h5-red);
    width: 50px;
}

/* ─────────── (5) EXPLORE CITIES ─────────── */
/* ─────────── EXPLORE CITIES (ec-) ─────────── */
.ec-section {
    background: #f7f7f7;
    padding: 100px 0;
}

.ec-header {
    text-align: center;
    margin-bottom: 56px;
}

.ec-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--h5-red);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.ec-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--h5-navy);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
}

/* ── Outer wrapper: flex row with arrows ── */
.ec-slider-outer {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ── Swiper takes remaining space ── */
.ec-swiper {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

/* ── External nav arrows ── */
.ec-nav {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    background: var(--h5-red);
    color: #fff;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s;
    z-index: 5;
}

.ec-nav:hover {
    background: #d81e1e;
    transform: scale(1.06);
}

/* ── City card ── */
.ec-card {
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 280px;
    text-decoration: none;
    cursor: pointer;
}

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

.ec-card:hover img {
    transform: scale(1.06);
}

/* ── Gradient overlay ── */
.ec-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 55%);
    transition: opacity 0.3s;
    border-radius: 16px;
}

.ec-card:hover .ec-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.1) 60%);
}

/* ── City info bottom-left ── */
.ec-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 20px 22px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ec-count {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.3px;
    line-height: 1;
}

.ec-city-name {
    font-size: 19px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.2px;
    line-height: 1.2;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .ec-title {
        font-size: 24px;
    }

    .ec-card {
        height: 230px;
    }

    .ec-nav {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }
}

@media (max-width: 575px) {
    .ec-section {
        padding: 50px 0;
        overflow: hidden;
    }

    .ec-header {
        margin-bottom: 32px;
    }

    .ec-title {
        font-size: 19px;
    }

    .ec-card {
        height: 180px;
    }

    /* Keep arrows small and tight on mobile */
    .ec-nav {
        width: 32px;
        height: 32px;
        font-size: 13px;
        border-radius: 6px;
    }

    .ec-slider-outer {
        gap: 8px;
    }
}


/* ═══════════════════════════════════════════════════
   TOP PROPERTIES (tp-)
   ═══════════════════════════════════════════════════ */
.tp-section {
    background: #fff;
    padding: 90px 0 80px;
}

/* ── Header ── */
.tp-header {
    text-align: center;
    margin-bottom: 52px;
}

.tp-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--h5-red);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.tp-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--h5-navy);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
}

/* ── Slider outer frame ── */
.tp-slider-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tp-swiper {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

/* ── External nav arrows (same style as ec-) ── */
.tp-nav {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    background: var(--h5-red);
    color: #fff;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s;
    z-index: 5;
    align-self: center;
}

.tp-nav:hover {
    background: #d81e1e;
    transform: scale(1.06);
}

/* ── Per-slide two-column inner card ── */
.tp-card-inner {
    display: flex;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.09);
    min-height: 400px;
    cursor: pointer;
}

/* ── Left: image ── */
.tp-img-side {
    position: relative;
    flex: 0 0 55%;
    max-width: 55%;
    overflow: hidden;
}

.tp-img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.tp-swiper .swiper-slide:hover .tp-img-side img {
    transform: scale(1.04);
}

.tp-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 60%);
    pointer-events: none;
}

/* ── Right: detail card ── */
.tp-detail-card {
    flex: 0 0 45%;
    max-width: 45%;
    background: #f8f9fa;
    padding: 32px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

/* ── Badges ── */
.tp-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.tp-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 11px;
    border-radius: 5px;
    line-height: 1.6;
}

.tp-badge--featured {
    background: #d4f5e2;
    color: #0d7a4e;
}

.tp-badge--type {
    background: #e7e9ef;
    color: #4b5563;
}

/* ── Title ── */
.tp-prop-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--h5-navy);
    line-height: 1.3;
    margin: 0 0 10px;
}

.tp-prop-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.tp-prop-title a:hover {
    color: var(--h5-red);
}

/* ── Address ── */
.tp-address {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 4px;
}

.tp-address .bi {
    color: var(--h5-red);
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ── Divider ── */
.tp-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 16px 0;
}

/* ── Specs row ── */
.tp-specs {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.tp-spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-align: center;
}

.tp-spec .bi {
    font-size: 20px;
    color: var(--h5-navy);
}

.tp-spec span {
    font-size: 15px;
    font-weight: 700;
    color: var(--h5-navy);
    line-height: 1;
}

.tp-spec label {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 500;
    cursor: default;
}

/* ── Agent ── */
.tp-agent-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tp-agent-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #e5e7eb;
}

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

.tp-agent-role {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tp-agent-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--h5-navy);
}

/* ── Footer row: price + actions ── */
.tp-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.tp-price {
    font-size: 24px;
    font-weight: 900;
    color: var(--h5-navy);
    letter-spacing: -0.5px;
}

.tp-foot-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tp-icon-btn {
    width: 38px;
    height: 38px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #6b7280;
    transition: all 0.2s;
    padding: 0;
}

.tp-icon-btn:hover,
.tp-icon-btn.active {
    background: var(--h5-red);
    border-color: var(--h5-red);
    color: #fff;
}

.tp-icon-btn.tp-wish.wishlisted {
    background: var(--h5-red);
    border-color: var(--h5-red);
    color: #fff;
}

.tp-view-btn {
    display: inline-block;
    padding: 8px 18px;
    background: var(--h5-red);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.tp-view-btn:hover {
    background: #d81e1e;
    color: #fff;
    transform: translateY(-1px);
}

/* ── Slide counter ── */
.tp-counter-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 28px;
    font-size: 17px;
    font-weight: 700;
    color: var(--h5-navy);
}

.tp-counter-sep {
    color: #d1d5db;
}

.tp-counter-tot {
    color: #9ca3af;
    font-weight: 500;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .tp-card-inner {
        min-height: 340px;
    }

    .tp-img-side {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .tp-detail-card {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 24px 20px;
    }

    .tp-prop-title {
        font-size: 17px;
    }

    .tp-price {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .tp-section {
        padding: 52px 0;
    }

    .tp-header {
        margin-bottom: 30px;
    }

    .tp-title {
        font-size: 20px;
    }

    /* Remove conflicting wrapper directions – arrows stay in row */
    .tp-slider-wrap {
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }

    .tp-card-inner {
        flex-direction: column;
        min-height: unset;
    }

    .tp-img-side {
        flex: none;
        max-width: 100%;
        height: 200px;
    }

    .tp-detail-card {
        flex: none;
        max-width: 100%;
        padding: 18px 16px;
    }

    /* Smaller compact arrows on mobile */
    .tp-nav {
        width: 32px;
        height: 32px;
        font-size: 13px;
        border-radius: 6px;
        flex-shrink: 0;
    }
}

@media (max-width: 575px) {
    .tp-title {
        font-size: 18px;
    }

    .tp-img-side {
        height: 170px;
    }

    .tp-price {
        font-size: 18px;
    }

    .tp-foot {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .tp-counter {
        font-size: 13px;
    }
}


.h5-cities-pagination {
    text-align: center;
    margin-top: 24px;
}


.h5-cities-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ccc;
    opacity: 1;
    transition: all .2s;
}

.h5-cities-pagination .swiper-pagination-bullet-active {
    background: var(--h5-red);
    width: 24px;
    border-radius: 4px;
}

/* ─────────── (6) WHY CHOOSE US ─────────── */
/* ═══════════════════════════════════════════════════
   WHY CHOOSE US (wc-)
   ═══════════════════════════════════════════════════ */

/* ── Section wrapper ── */
.wc-section {
    background: #0f1b2d;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(229, 84, 84, 0.06) 0%, transparent 55%),
        radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* ── Left text area ── */
.wc-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--h5-red);
    text-transform: uppercase;
    margin-bottom: 14px;
}

.wc-heading {
    font-size: 36px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.15;
    margin: 0 0 22px;
}

.wc-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.60);
    line-height: 1.85;
    margin: 0 0 36px;
    max-width: 360px;
}

.wc-btn {
    display: inline-block;
    background: var(--h5-red);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 13px 32px;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.wc-btn:hover {
    background: #d81e1e;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(229, 84, 84, 0.4);
}

/* ── 2×2 Benefits grid ── */
.wc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

/* ── Single benefit card ── */
.wc-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid transparent;
    border-radius: 14px;
    padding: 30px 26px;
    transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.wc-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-left-color: var(--h5-red);
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

/* ── Icon ── */
.wc-icon {
    font-size: 38px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1;
    margin-bottom: 20px;
    transition: color 0.3s;
}

.wc-card:hover .wc-icon {
    color: var(--h5-red);
}

/* ── Card text ── */
.wc-card-title {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.3;
}

.wc-card-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.50);
    line-height: 1.8;
    margin: 0;
}

/* ── Fade-in animation ── */
.wc-fade {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.wc-fade.wc-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .wc-heading {
        font-size: 28px;
    }

    .wc-desc {
        max-width: 100%;
    }
}

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

    .wc-heading {
        font-size: 22px;
    }

    /* Single column on mobile for benefits */
    .wc-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .wc-card {
        padding: 20px 18px;
    }

    .wc-icon {
        font-size: 28px;
    }

    .wc-col-text {
        text-align: center;
    }

    .wc-btn {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .wc-heading {
        font-size: 20px;
    }
}



/* ═══════════════════════════════════════════════════
   MEET OUR AGENTS (ag-) — Premium Swiper
   ═══════════════════════════════════════════════════ */

/* ── Section ── */
.ag-section {
    background: #f5f7fa;
    padding: 90px 0 100px;
}

/* ── Section header row ── */
.ag-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 44px;
    gap: 20px;
    flex-wrap: wrap;
}

.ag-header-text {
    display: flex;
    flex-direction: column;
}

.ag-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--h5-red);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.ag-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--h5-navy);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0;
    line-height: 1.15;
}

/* ── Nav controls ── */
.ag-section-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.ag-nav-btn {
    width: 42px;
    height: 42px;
    border: none;
    background: var(--h5-navy);
    color: #fff;
    border-radius: 10px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s;
}

.ag-nav-btn:hover {
    background: var(--h5-red);
    transform: scale(1.07);
}

.ag-nav-btn:disabled,
.ag-nav-btn.swiper-button-disabled {
    background: #dde1e7;
    color: #aaa;
    cursor: default;
    transform: none;
}

.ag-counter {
    font-size: 14px;
    font-weight: 700;
    color: var(--h5-navy);
    letter-spacing: 0.5px;
    min-width: 54px;
    text-align: center;
}

.ag-counter-cur {
    color: var(--h5-red);
}

.ag-counter-sep {
    color: #aaa;
    margin: 0 2px;
}

.ag-counter-tot {
    color: var(--h5-navy);
}

/* ── Swiper ── */
.ag-swiper {
    overflow: visible;
}

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

/* ── Card ── */
.ag-card {
    display: flex;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(15, 27, 45, 0.07);
    transition: box-shadow 0.35s, transform 0.35s;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.ag-card:hover {
    box-shadow: 0 16px 48px rgba(15, 27, 45, 0.14);
    transform: translateY(-5px);
}

/* ── Image wrap ── */
.ag-img-wrap {
    position: relative;
    flex: 0 0 175px;
    width: 175px;
    min-height: 280px;
    overflow: hidden;
    flex-shrink: 0;
}

.ag-img-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.5s ease;
}

.ag-card:hover .ag-img-wrap img {
    transform: scale(1.07);
}

/* ── Property count badge (bottom-left of image) ── */
.ag-prop-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: var(--h5-red);
    color: #fff;
    border-radius: 10px;
    padding: 6px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
    box-shadow: 0 4px 14px rgba(229, 84, 84, 0.45);
    z-index: 2;
}

.ag-prop-num {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.ag-prop-lbl {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    opacity: 0.9;
    margin-top: 1px;
}

/* ── Info panel ── */
.ag-info {
    flex: 1;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* ── Name + role badge row ── */
.ag-name-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 2px;
}

.ag-name {
    font-size: 17px;
    font-weight: 900;
    color: var(--h5-navy);
    margin: 0;
    line-height: 1.25;
}

.ag-role-badge {
    flex-shrink: 0;
    display: inline-block;
    background: rgba(229, 84, 84, 0.1);
    color: var(--h5-red);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
    margin-top: 2px;
}

/* ── Divider ── */
.ag-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 12px 0;
}

/* ── Contact list ── */
.ag-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ag-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 12px;
    color: #4b5563;
    line-height: 1.4;
}

.ag-icon-wrap {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #f0f4ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ag-icon-wrap .bi {
    font-size: 11px;
    color: var(--h5-red);
}

.ag-contact-list li span:last-child {
    word-break: break-word;
    flex: 1;
    padding-top: 3px;
}

/* ── Property stats row ── */
.ag-stat-row {
    display: flex;
    gap: 0;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}

.ag-stat {
    flex: 1;
    text-align: center;
    padding: 8px 4px;
    border-right: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.ag-stat-num {
    font-size: 18px;
    font-weight: 900;
    color: var(--h5-navy);
    line-height: 1;
}

.ag-stat-label {
    font-size: 9.5px;
    color: #9ca3af;
    font-weight: 500;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ── Contact Agent button (full-width red) ── */
.ag-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--h5-navy);
    color: #fff;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.3px;
    margin-top: auto;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.ag-contact-btn:hover {
    background: var(--h5-red);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(229, 84, 84, 0.35);
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .ag-img-wrap {
        flex: 0 0 140px;
        width: 140px;
    }

    .ag-name {
        font-size: 15px;
    }

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

@media (max-width: 575px) {
    .ag-section {
        padding: 60px 0;
    }

    .ag-card {
        flex-direction: column;
    }

    .ag-img-wrap {
        width: 100%;
        min-height: 220px;
        flex: none;
    }

    .ag-prop-badge {
        bottom: 12px;
        left: 12px;
    }

    .ag-info {
        padding: 18px 16px;
    }

    .ag-contact-btn {
        margin-top: 12px;
    }
}


/* ─────────── (7) AGENTS – legacy kept for other pages ─────────── */
.h5-agents-section {
    background: #fff;
}

.h5-agent-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    border: 1.5px solid var(--h5-border);
    border-radius: var(--h5-radius);
    padding: 24px 22px;
    transition: all .3s;
    background: #fff;
}

.h5-agent-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, .1);
    border-color: rgba(232, 41, 28, .2);
    transform: translateY(-2px);
}

.h5-agent-img {
    flex-shrink: 0;
}

.h5-agent-img img {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f0f0;
}

.h5-agent-info h5 {
    font-size: 17px;
    font-weight: 800;
    color: var(--h5-navy);
    margin-bottom: 3px;
}

.h5-agent-role {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.h5-agent-phone {
    font-size: 13px;
    color: var(--h5-navy);
    margin-bottom: 6px;
    font-weight: 500;
}

.h5-agent-phone i {
    color: var(--h5-red);
    margin-right: 6px;
}

.h5-agent-count {
    display: inline-block;
    font-size: 11px;
    color: var(--h5-red);
    font-weight: 800;
    background: #fff3f2;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ─────────── (8) TESTIMONIALS ─────────── */
.h5-testimonials-section {
    background: var(--h5-light-bg);
}

.h5-testi-title {
    font-size: 32px;
    margin-bottom: 14px;
}

.h5-testi-desc {
    font-size: 14px;
    color: var(--h5-text);
    line-height: 1.8;
    margin-bottom: 4px;
}

.h5-testi-card {
    background: #fff;
    border-radius: var(--h5-radius);
    padding: 36px;
    height: 100%;
    box-shadow: var(--h5-shadow);
    border: 1px solid var(--h5-border);
    position: relative;
}

.h5-testi-card::before {
    content: '\201C';
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 64px;
    color: #f0f0f0;
    line-height: 1;
    font-family: Georgia, serif;
    pointer-events: none;
}

.h5-testi-quote {
    font-size: 14px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 28px;
    font-style: italic;
}

.h5-testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.h5-testi-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
}

.h5-testi-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--h5-navy);
}

.h5-testi-role {
    font-size: 12px;
    color: #9ca3af;
}

/* ─────────── (9) LATEST NEWS ─────────── */
.h5-news-section {
    background: #fff;
}

.h5-news-card {
    border-radius: var(--h5-radius);
    overflow: hidden;
    background: #fff;
    transition: all .3s;
    box-shadow: var(--h5-shadow);
    border: 1px solid var(--h5-border);
}

.h5-news-card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, .12);
    transform: translateY(-4px);
}

.h5-news-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.h5-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.h5-news-card:hover .h5-news-img img {
    transform: scale(1.06);
}

.h5-news-date {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    background: var(--h5-red);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    border-radius: 5px;
    text-transform: uppercase;
}

.h5-news-body {
    padding: 22px 22px 26px;
    background: var(--h5-navy);
}

.h5-news-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 12px;
}

.h5-news-title a {
    color: #fff;
    text-decoration: none;
    transition: color .2s;
}

.h5-news-title a:hover {
    color: rgba(255, 255, 255, .7);
}

.h5-news-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, .45);
    display: flex;
    gap: 8px;
    align-items: center;
}

.h5-news-sep {
    color: rgba(255, 255, 255, .2);
}

.h5-news-meta span:first-child {
    color: rgba(255, 255, 255, .6);
}

/* ─────────── RESPONSIVE ─────────── */
@media (max-width: 1199px) {
    .h5-section-title {
        font-size: 32px;
    }

    .h5-hero-heading h1 {
        font-size: 48px;
    }

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

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

@media (max-width: 991px) {
    section {
        padding: 70px 0;
    }

    .h5-hero {
        margin-top: -70px;
    }

    .h5-hero-heading h1 {
        font-size: 38px;
    }

    .h5-services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .h5-hero-card {
        bottom: 32px;
        left: 4%;
        right: 4%;
        max-width: none;
    }

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

    .h5-why-section .row>div:first-child {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    section {
        padding: 56px 0;
    }

    .h5-section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .h5-hero {
        max-height: 680px;
        margin-top: -60px;
    }

    .h5-hero-heading h1 {
        font-size: 30px;
    }

    .h5-hero-heading p {
        font-size: 15px;
    }

    .h5-hero-card {
        bottom: 28px;
        padding: 20px 18px;
    }

    .h5-hero-features {
        gap: 12px;
    }

    .h5-services-grid {
        grid-template-columns: 1fr;
    }

    .h5-adv-grid {
        grid-template-columns: 1fr 1fr;
    }

    .h5-amenities-grid {
        grid-template-columns: 1fr 1fr;
    }

    .h5-why-grid {
        grid-template-columns: 1fr;
    }

    .h5-agent-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 575px) {
    .h5-adv-grid {
        grid-template-columns: 1fr;
    }

    .h5-amenities-grid {
        grid-template-columns: 1fr 1fr;
    }

    .h5-hero-card {
        left: 3%;
        right: 3%;
    }

    .h5-hero-features span {
        font-size: 12px;
    }

    .h5-search-tabs .h5-tab {
        padding: 14px 16px;
        font-size: 11px;
    }
}