/* ─────────────────────────────────────────
   FONTS
───────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ─────────────────────────────────────────
   CSS VARIABLES
───────────────────────────────────────── */
:root {
    --black: #111;
    --white: #fff;
    --off-white: #f9f9f9;
    --muted: #777;
    --border: #eee;
    --accent: #f5a623;
    --link: #4336FF;
    --dark-badge: #222;
}

/* ─────────────────────────────────────────
   RESET / BASE
───────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--black);
    background: var(--white);
}

.section-container {
    max-width: calc(100% - 200px);
    margin: auto;
    margin-block: 120px;
}

.header-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
}

    .header-hero img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-hero .hero-wrapper {
        display: flex;
        flex-direction: column;
        position: absolute;
        margin: 0;
        text-align: center;
        width: 100%;
        max-width: 800px;
    }

@media (max-width:1024px) {
    .section-container {
        max-width: calc(100% - 40px);
        padding-block: 40px;
    }

    .header-hero {
        height: 400px;
    }

        .header-hero .hero-wrapper {
            max-width: calc(100% - 40px);
        }
}

.header-hero .entry-meta {
    display: inline-block;
    max-width: max-content;
    padding: 6px 12px;
    margin-inline: auto;
    background: linear-gradient(264.46deg, #969696 -0.45%, rgba(150, 150, 150, 0) 99.08%);
    list-style: none;
}

    .header-hero .entry-meta li:not(:last-of-type) {
        margin-inline-end: 9px;
    }

    .header-hero .entry-meta li {
        display: inline-block;
    }

        .header-hero .entry-meta li:after {
            margin-inline-start: 9px;
        }

        .header-hero .entry-meta li:not(:last-of-type):after {
            content: ">";
        }

.header-hero .page-title {
    margin-top: 20px;
}

.header-hero .team-social-btns {
    display: flex;
    flex-wrap: wrap;
    margin-block-end: 24px;
    gap: 24px;
    align-items: center;
    justify-content: center;
}

.hero-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 860px;
    margin-inline: auto;
    padding: 0 40px 52px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

/* Breadcrumb */
.entry-meta {
    display: inline-flex;
    align-items: center;
    gap: 0;
    list-style: none;
    padding: 6px 16px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    margin: 0;
}

    .entry-meta li {
        display: inline-flex;
        align-items: center;
        font-size: 0.78rem;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: rgba(255,255,255,0.85);
    }

        .entry-meta li a {
            color: inherit;
            text-decoration: none;
        }

            .entry-meta li a:hover {
                color: #fff;
            }

        .entry-meta li:not(:last-child)::after {
            content: '/';
            margin-inline: 8px;
            opacity: 0.5;
        }

/* Social pills row in hero */
.team-social-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

    .team-social-btns a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 7px 16px;
        border-radius: 999px;
        font-size: 0.78rem;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        text-decoration: none;
        color: #fff;
        border: 1px solid rgba(255,255,255,0.35);
        background: rgba(255,255,255,0.10);
        backdrop-filter: blur(6px);
        transition: background 0.2s, border-color 0.2s;
    }

        .team-social-btns a:hover {
            background: rgba(255,255,255,0.22);
            border-color: rgba(255,255,255,0.6);
        }

/* hero page-title (unused but kept for compat) */
.header-hero .page-title {
    margin-top: 12px;
}

@media (max-width: 1024px) {
    .header-hero {
        height: 420px;
    }

    .hero-wrapper {
        padding: 0 24px 40px;
    }
}

@media (max-width: 600px) {
    .header-hero {
        height: 340px;
    }

    .hero-wrapper {
        padding: 0 16px 32px;
        align-items: center;
    }

    .entry-meta {
        margin-inline: auto;
    }

    .team-social-btns {
        justify-content: center;
    }
}

/* ─────────────────────────────────────────
   AGENT SHOWCASE — SPLIT EDITORIAL
───────────────────────────────────────── */
.agent-showcase {
    background: var(--white);
    padding-block: 96px 80px;
}

.agent-panel {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 64px;
    align-items: center;
    max-width: 1100px;
    margin-inline: auto;
    padding-inline: 40px;
}

@media (max-width: 900px) {
    .agent-panel {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-inline: 24px;
    }
}

/* Photo frame — layered offset trick */
.agent-panel__media {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 0;
}

/* Vertical social rail — runs flush left of the photo */
.photo-social-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px 10px;
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 16px 0 0 16px;
    flex-shrink: 0;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
}

    .photo-social-rail a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 8px;
        color: rgba(255,255,255,0.55);
        text-decoration: none;
        transition: background 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

        .photo-social-rail a:hover {
            background: rgba(255,255,255,0.12);
            color: var(--accent);
            transform: scale(1.12);
        }

        /* separator line between icons */
        .photo-social-rail a + a {
            position: relative;
        }

            .photo-social-rail a + a::before {
                content: '';
                position: absolute;
                top: -3px;
                left: 8px;
                right: 8px;
                height: 1px;
                background: rgba(255,255,255,0.08);
            }

.agent-panel__media .about-img {
    position: relative;
    display: block;
    flex: 1;
    min-width: 0;
}

    /* Gold accent frame behind photo */
    .agent-panel__media .about-img::before {
        content: '';
        position: absolute;
        inset: -14px -14px 14px 14px;
        border: 2px solid var(--accent);
        border-radius: 0 24px 24px 0;
        z-index: 0;
        opacity: 0.45;
    }

/* On mobile, social rail goes horizontal below photo */
@media (max-width: 900px) {
    .agent-panel__media {
        flex-direction: column;
        gap: 12px;
    }

    .photo-social-rail {
        flex-direction: row;
        border-radius: 12px;
        padding: 10px 16px;
        justify-content: center;
        order: 2;
    }

        .photo-social-rail a + a::before {
            display: none;
        }

    .agent-panel__media .about-img {
        order: 1;
    }

        .agent-panel__media .about-img::before {
            border-radius: 16px;
            inset: -10px -10px 10px 10px;
        }
}

.agent-photo {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: 540px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
    display: block;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.agent-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 60px rgba(245, 166, 35, 0.2);
}

/* Copy card */
.copy-card {
    display: flex;
    flex-direction: column;
    gap: 0;
}

    .copy-card .eyebrow {
        font-family: 'DM Sans', sans-serif;
        font-size: 0.72rem;
        font-weight: 600;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--muted);
        margin-bottom: 10px;
    }

    .copy-card h1 {
        font-family: 'Cormorant Garamond', serif;
        font-size: clamp(2.4rem, 4.5vw, 3.6rem);
        font-weight: 300;
        line-height: 1.1;
        letter-spacing: -0.01em;
        color: var(--black);
        margin: 0 0 12px;
    }

.role-pill {
    display: inline-block;
    padding: 5px 16px;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 20px;
}

/* Rating */
.rating-row {
    margin-bottom: 24px;
}

.rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 8px;
    padding: 7px 16px;
    font-size: 0.88rem;
    font-weight: 600;
}

.star-icon {
    color: var(--accent);
}

/* Divider line */
.copy-card .divider {
    width: 48px;
    height: 2px;
    background: var(--accent);
    margin-block: 20px;
    border: none;
}

.lead-bio {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 28px;
}

/* CTA Buttons */
.agent-cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

    .agent-cta-btns a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 24px;
        border-radius: 12px;
        font-size: 0.9rem;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }

    .agent-cta-btns a:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #1ebe59 100%);
    color: #fff;
    border: none;
}

    .btn-whatsapp:hover {
        background: linear-gradient(135deg, #1ebe59 0%, #159c46 100%);
        box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
    }

.btn-call {
    background: linear-gradient(135deg, var(--black) 0%, #333 100%);
    color: #fff;
    border: none;
}

    .btn-call:hover {
        background: linear-gradient(135deg, #333 0%, #111 100%);
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    }

.btn-email {
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--border);
}

    .btn-email:hover {
        background: var(--off-white);
        border-color: var(--accent);
        color: var(--accent);
    }

/* ─────────────────────────────────────────
   PROFILE INTELLIGENCE — BENTO GRID
───────────────────────────────────────── */
.profile-intelligence {
    background: var(--off-white);
}

.pi-inner {
    max-width: 1100px;
    margin-inline: auto;
    padding-inline: 40px;
}

@media (max-width: 1024px) {
    .pi-inner {
        padding-inline: 24px;
    }
}

/* Section heading style */
.pi-inner h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 300;
    color: var(--black);
    margin: 0 0 8px;
}

    .pi-inner h2 + .section-sub {
        font-size: 0.9rem;
        color: var(--muted);
        margin-bottom: 40px;
        display: block;
    }

/* About block */
.agent-about {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    max-width: 760px;
    margin-bottom: 48px;
}

    .agent-about p {
        margin-block: 0.7em;
    }

/* Bento grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
}

.bento-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .bento-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 35px rgba(0,0,0,0.08);
        border-color: var(--accent);
    }

    /* accent stripe on top */
    .bento-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--accent) 0%, #ffc107 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .bento-card:hover::before {
        opacity: 1;
    }

    .bento-card .label {
        display: block;
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--muted);
        margin-bottom: 8px;
        transition: color 0.3s ease;
    }

    .bento-card:hover .label {
        color: var(--accent);
    }

    .bento-card .value {
        display: block;
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--black);
        line-height: 1.3;
        transition: transform 0.3s ease;
    }

    .bento-card:hover .value {
        transform: translateX(4px);
    }

    /* Performance stats — highlighted cards */
    .bento-card.stat-highlight {
        background: linear-gradient(135deg, var(--black) 0%, #222 100%);
        border: none;
    }

        .bento-card.stat-highlight .label {
            color: rgba(255,255,255,0.6);
        }

        .bento-card.stat-highlight:hover .label {
            color: var(--accent);
        }

        .bento-card.stat-highlight .value {
            color: var(--white);
            font-size: 1.5rem;
        }

        .bento-card.stat-highlight::before {
            background: linear-gradient(90deg, var(--accent) 0%, #ffc107 100%);
            opacity: 1;
        }

/* Section sub-headers */
.profile-section-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

    .profile-section-title::before {
        content: '';
        display: inline-block;
        width: 20px;
        height: 2px;
        background: var(--accent);
        flex-shrink: 0;
    }

/* ─────────────────────────────────────────
   SIDE SECTION
───────────────────────────────────────── */
.side-section {
    background: var(--white);
}

    .side-section .content-container {
        max-width: 1100px;
        margin-inline: auto;
        padding-inline: 40px;
    }

/* ─────────────────────────────────────────
   TRUST STRIP — scrolling credential ticker
───────────────────────────────────────── */
.trust-strip {
    background: var(--black);
    overflow: hidden;
    padding-block: 14px;
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
}

.trust-strip__track {
    display: flex;
    align-items: center;
    gap: 32px;
    white-space: nowrap;
    animation: trustScroll 28s linear infinite;
    width: max-content;
}

@keyframes trustScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
}

    .trust-item svg {
        color: var(--accent);
        flex-shrink: 0;
    }

.trust-sep {
    color: rgba(255,255,255,0.2);
    font-size: 1rem;
}

/* ─────────────────────────────────────────
   CAREER BANNER — FULL-WIDTH OVERLAY
───────────────────────────────────────── */
.career-banner {
    position: relative;
    overflow: hidden;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
}

    .career-banner img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.35;
        display: block;
    }

.career-banner__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 48px 24px;
}

.career-banner__eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.career-banner__headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--white);
    margin: 0 0 28px;
    line-height: 1.15;
}

.btn-agent1 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--white);
    color: var(--black);
    border: none;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

    .btn-agent1:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 28px rgba(0,0,0,0.22);
    }

    /* Arrow icon */
    .btn-agent1::after {
        content: '→';
        font-size: 1rem;
        transition: transform 0.2s;
    }

    .btn-agent1:hover::after {
        transform: translateX(4px);
    }

/* ─────────────────────────────────────────
   CONTENT CONTAINER (legacy compat)
───────────────────────────────────────── */
.content-container {
    position: relative;
    margin-inline: auto;
    max-width: calc(100% - 40px);
    z-index: 9;
}

/* ─────────────────────────────────────────
   ENTRY CONTENT (legacy compat)
───────────────────────────────────────── */
.entry-content h1, .entry-content h2,
.entry-content h3, .entry-content h4,
.entry-content h5, .entry-content h6 {
    margin-block: 0.8em;
}

.entry-content li {
    line-height: 2;
}

.entry-content a {
    color: var(--link);
}

.entry-content > * {
    max-width: 800px;
    margin-inline: auto;
}

    .entry-content > *.alignwide {
        max-width: 1100px;
    }

.entry-content .team-profile {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 24px;
    align-items: center;
    margin-block: 80px;
}

@media (max-width: 768px) {
    .entry-content .team-profile {
        grid-template-columns: 1fr;
    }
}

.entry-content .team-profile img {
    width: auto;
    max-height: 500px;
    border-radius: 24px;
}

/* ─────────────────────────────────────────
   UTILITIES
───────────────────────────────────────── */
.py-5 {
    padding-block: 40px;
}

.p-4 {
    padding: 24px;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-3 {
    margin-bottom: 12px;
}

.mb-4 {
    margin-bottom: 20px;
}

.mt-3 {
    margin-top: 12px;
}

.mt-4 {
    margin-top: 24px;
}

.w-100 {
    width: 100%;
}

.fw-bold {
    font-weight: 700;
}

.text-muted {
    color: var(--muted);
}

/* ─────────────────────────────────────────
   LEGACY GRID / INFO CARDS (kept for compat)
───────────────────────────────────────── */
.pi-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
}

@media (max-width: 900px) {
    .pi-grid {
        grid-template-columns: 1fr;
    }
}

.info-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.info-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.badge-dark {
    display: inline-block;
    padding: 4px 10px;
    background: var(--dark-badge);
    color: var(--white);
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
}

.small-grid {
    grid-template-columns: 1fr 1fr;
}

.info-row .label {
    display: block;
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.info-row .value {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--black);
}

.side-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial-card, .response-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.contact-actions .btn {
    display: block;
    width: 100%;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.btn-dark {
    background: var(--black);
    color: var(--white);
    border: 1px solid var(--black);
}

    .btn-dark:hover {
        background: #333;
    }

.btn-outline-dark {
    background: transparent;
    color: var(--black);
    border: 1px solid #ccc;
}

    .btn-outline-dark:hover {
        background: #f5f5f5;
    }

.focus-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .focus-list li {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.95rem;
        color: #333;
    }

.icon-sm {
    flex-shrink: 0;
    color: #555;
}

/* Profile grid (new CSHTML) */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.profile-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 20px;
    transition: box-shadow 0.2s;
}

    .profile-item:hover {
        box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    }

    .profile-item .label {
        display: block;
        font-size: 0.7rem;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--muted);
        margin-bottom: 6px;
    }

    .profile-item .value {
        display: block;
        font-size: 1rem;
        font-weight: 600;
        color: var(--black);
    }

/* agent-post & agent-rating (used in CSHTML) */
.agent-post {
    display: inline-block;
    padding: 5px 16px;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 20px;
}

.agent-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 8px;
    padding: 7px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 24px;
}

@media (max-width: 600px) {
    .info-grid, .small-grid {
        grid-template-columns: 1fr;
    }

    .agent-photo {
        max-height: 340px;
    }

    .agent-panel {
        padding-inline: 16px;
    }

    .pi-inner {
        padding-inline: 16px;
    }
}

.language-list {
}

/* ─────────────────────────────────────────
   IDENTITY CLUSTER — name + badges grouped
───────────────────────────────────────── */
.identity-cluster {
    margin-bottom: 0;
}

    .identity-cluster h1 {
        font-family: 'Cormorant Garamond', serif;
        font-size: clamp(2.4rem, 4.5vw, 3.6rem);
        font-weight: 300;
        line-height: 1.1;
        letter-spacing: -0.01em;
        color: var(--black);
        margin: 0 0 14px;
    }

/* Row of pills: role + rating + expertise inline */
.identity-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

    /* Role pill */
    .identity-badges .role-pill {
        margin-bottom: 0;
        background: var(--off-white);
        border: 1px solid var(--border);
        border-radius: 999px;
        padding: 5px 16px;
        font-size: 0.78rem;
        font-weight: 600;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: #555;
        display: inline-block;
    }

    /* Rating pill */
    .identity-badges .rating-pill {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: #fffbe6;
        border: 1px solid #ffe58f;
        border-radius: 999px;
        padding: 5px 14px;
        font-size: 0.82rem;
        font-weight: 700;
        color: #333;
    }

        .identity-badges .rating-pill .rating-label {
            font-weight: 400;
            color: #888;
            font-size: 0.75rem;
        }

    .identity-badges .star-icon {
        color: var(--accent);
        font-size: 0.95rem;
    }

/* Expertise pill */
.expertise-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #111;
    color: #fff;
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

    .expertise-pill svg {
        color: var(--accent);
        flex-shrink: 0;
    }

/* BRN inline line */
.brn-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.brn-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.brn-value {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--black);
    font-variant-numeric: tabular-nums;
}

/* ─────────────────────────────────────────
   IMAGE OVERLAY BUTTONS (share + vCard)
───────────────────────────────────────── */

/* Wrapper must be position:relative — already is via .about-img */
.img-overlay-btn {
    position: absolute;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, border-color 0.2s;
    font-family: 'DM Sans', sans-serif;
}

    .img-overlay-btn:hover {
        background: rgba(0, 0, 0, 0.9);
        border-color: rgba(255,255,255,0.35);
        transform: scale(1.04);
        color: #fff;
    }

/* Share button — top-right corner */
.img-share-btn {
    top: 14px;
    right: 14px;
}

/* vCard button — bottom-right corner */
.img-vcard-btn {
    bottom: 14px;
    right: 14px;
}

    .img-vcard-btn span {
        font-size: 0.75rem;
    }

/* On mobile, adjust insets so they don't clip */
@media (max-width: 600px) {
    .img-share-btn {
        top: 10px;
        right: 10px;
    }

    .img-vcard-btn {
        bottom: 10px;
        right: 10px;
    }
}

/* ─────────────────────────────────────────
   CLIENT TESTIMONIALS SECTION
───────────────────────────────────────── */
.testimonials-section {
    background: var(--white);
    padding-block: 80px;
    border-top: 1px solid var(--border);
}

.testimonials-inner {
    max-width: 1100px;
    margin-inline: auto;
    padding-inline: 40px;
}

@media (max-width: 1024px) {
    .testimonials-inner {
        padding-inline: 24px;
    }
}

@media (max-width: 600px) {
    .testimonials-inner {
        padding-inline: 16px;
    }
}

.testimonials-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}

    .testimonials-header .profile-section-title {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
        font-size: 0.8rem;
    }

.testimonials-summary {
    display: flex;
    align-items: center;
    gap: 10px;
}

.t-avg-rating {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
}

.t-review-count {
    font-size: 0.78rem;
    color: var(--muted);
}

/* Masonry-ish 3-col grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-section {
        padding-block: 52px;
    }
}

/* Testimonial card */
.testimonial-card-new {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 18px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

    .testimonial-card-new::before {
        content: '\201C';
        position: absolute;
        top: -10px;
        right: 20px;
        font-family: 'Cormorant Garamond', serif;
        font-size: 7rem;
        color: var(--accent);
        opacity: 0.08;
        line-height: 1;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .testimonial-card-new:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.08);
        border-color: rgba(245, 166, 35, 0.3); /* Subtle accent border */
    }

    .testimonial-card-new:hover::before {
        transform: scale(1.1) rotate(5deg);
        opacity: 0.15;
    }

    /* Featured card — darker */
    .testimonial-card-new.tc-featured {
        background: var(--black);
        border-color: var(--black);
    }

.tc-featured .tc-name {
    color: #fff;
}

.tc-featured .tc-location {
    color: rgba(255,255,255,0.45);
}

.tc-featured .tc-quote {
    color: rgba(255,255,255,0.82);
}

.tc-featured .tc-property-tag {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    border-color: rgba(255,255,255,0.12);
}

.tc-featured .tc-date {
    color: rgba(255,255,255,0.4);
}

.tc-featured .tc-stars {
    color: var(--accent);
}

.tc-featured::before {
    opacity: 0.07;
}

/* Card header: avatar + name + stars */
.tc-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tc-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--black);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.tc-featured .tc-avatar {
    background: var(--accent);
    color: #111;
}

.tc-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tc-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.2;
}

.tc-location {
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.02em;
}

.tc-stars {
    font-size: 0.82rem;
    color: var(--accent);
    letter-spacing: 1px;
    flex-shrink: 0;
}

/* Quote body */
.tc-quote {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #444;
    margin: 0;
    flex: 1;
}

/* Card footer */
.tc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.tc-property-tag {
    display: inline-block;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #555;
    text-transform: uppercase;
}

.tc-date {
    font-size: 0.72rem;
    color: var(--muted);
}

/* ─────────────────────────────────────────
   SHARE TOAST NOTIFICATION
───────────────────────────────────────── */
.share-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--black);
    color: #fff;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.25s, transform 0.25s;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

    .share-toast.visible {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
