/* Vendor / agent public profile page: header, badges, CTAs and section layout.
   Builds on the shared .pd-* (property-details.css) and .overview-grid (similar-properties.css) classes
   so the look stays consistent with the property details page. */

.vp-page {
    background: #f7f8fb;
}

.vp-head {
    padding: 28px 30px;
    margin-bottom: 16px;
    background: #fff;
    border: 1px solid rgba(17, 16, 33, 0.07);
    border-radius: 22px;
    box-shadow: 0 14px 36px rgba(17, 16, 33, 0.05);
}

.vp-head-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 22px;
}

.vp-avatar-wrap {
    position: relative;
    flex: 0 0 auto;
}

.vp-avatar {
    overflow: hidden;
    width: 128px;
    height: 128px;
    background: #eef1f6;
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(17, 16, 33, 0.14);
}

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

.vp-verified-badge {
    position: absolute;
    right: 4px;
    bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #fff;
    font-size: 13px;
    background: #1aa99a;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(26, 169, 154, 0.4);
}

.vp-head-info {
    flex: 1 1 260px;
    min-width: 0;
}

.vp-name-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.vp-name {
    margin: 0;
    font-size: clamp(22px, 1.6vw + 16px, 30px);
    font-weight: 700;
    line-height: 1.25;
    color: #111021;
}

.vp-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 11px;
    font-size: 11.5px;
    font-weight: 700;
    color: #0f9d6a;
    white-space: nowrap;
    background: rgba(15, 157, 106, 0.1);
    border-radius: 999px;
}

.vp-handle {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: #8a91a0;
}

.vp-location {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 8px 0 0;
    font-size: 14px;
    color: #6b7080;
}

.vp-location i {
    color: var(--color-primary, #0A2C6D);
}

.vp-specialties {
    margin-top: 12px;
}

.vp-head-actions {
    flex: 0 0 auto;
    margin-left: auto;
}

.vp-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(17, 16, 33, 0.07);
}

.vp-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    border-radius: 999px;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.vp-cta:hover {
    color: #fff;
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.vp-cta-call {
    background-image: linear-gradient(135deg, var(--color-primary, #0A2C6D), #1aa99a);
    box-shadow: 0 10px 24px rgba(10, 44, 109, 0.22);
}

.vp-cta-wa {
    background: #25d366;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
}

.vp-cta-msg {
    color: var(--color-primary, #0A2C6D);
    background: rgba(10, 44, 109, 0.08);
    box-shadow: none;
}

.vp-cta-msg:hover {
    color: var(--color-primary, #0A2C6D);
}

.vp-stats {
    margin-top: 18px;
    padding-top: 0;
    border-top: 0;
}

.vp-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 18px;
}

.vp-section-count {
    padding: 3px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7080;
    background: #f4f6fa;
    border-radius: 999px;
}

.vp-about-text {
    font-size: 15px;
    line-height: 1.75;
    color: #454b5c;
}

.vp-about-empty {
    margin: 0;
    font-size: 14px;
    font-style: italic;
    color: #8a91a0;
}

.vp-info-grid {
    margin-top: 18px;
}

.vp-areas {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(17, 16, 33, 0.07);
}

.vp-areas-label {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #8a91a0;
}

.vp-contact-heading {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 700;
    color: #111021;
}

@media (max-width: 767.98px) {
    .vp-head {
        padding: 20px;
    }

    .vp-head-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .vp-avatar {
        width: 104px;
        height: 104px;
    }

    .vp-head-info {
        width: 100%;
    }

    .vp-name-row,
    .vp-location,
    .vp-specialties {
        justify-content: center;
    }

    .vp-location {
        justify-content: center;
    }

    .vp-head-actions {
        margin: 6px 0 0;
    }

    .vp-cta-row {
        justify-content: center;
    }

    .vp-cta {
        flex: 1 1 auto;
        justify-content: center;
    }

    .vp-stats {
        justify-content: center;
    }
}
