/* --- Sales Hero: Global Dark Overlay + White Text --- */
.sales-hero-section {
    position: relative;
    background: linear-gradient(111deg, var(--section-bg-1) 0%, var(--section-bg-2) 100%);
    text-align: center;
    min-height: 360px;
    overflow: hidden;
    border-radius: 32px;
    box-shadow: 0 12px 40px 0 var(--primary-shadow), 0 2px 8px 0 rgba(0,0,0,0.04);
}

.sales-hero-container {
    position: relative;
    z-index: 1;
    background: none;
    box-shadow: none;
    max-width: 900px;
    margin: 0 auto;
}

.tenant-theme .sales-hero-title,
.tenant-theme .sales-hero-highlight,
.tenant-theme .sales-hero-subtitle {
    color: var(--overlay-text);
    text-shadow: 0 3px 28px rgba(0,0,0,0.33), 0 1.5px 3px rgba(0,0,0,0.12);
}

.sales-hero-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1.1rem;
    letter-spacing: -1px;
    text-align: center;
}

.sales-hero-highlight {
    font-weight: 600;
    letter-spacing: -0.4px;
}

.sales-hero-subtitle {
    font-family: var(--font-sans);
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 2rem;
    text-align: center;
}

.sales-hero-cta {
    margin-top: 1rem;
    font-family: var(--font-heading);
    background: var(--primary-color);
    color: var(--primary-contrast);
    padding: 1em 2.4em;
    font-size: 1.09rem;
    border: none;
    border-radius: 32px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.1px;
    box-shadow: 0 4px 28px 0 var(--primary-shadow);
    transition: background 0.17s, color 0.17s, box-shadow 0.17s, transform 0.16s;
    display: inline-block;
    margin-top: 18px;
    cursor: pointer;
}

    .sales-hero-cta:hover,
    .sales-hero-cta:focus {
        background: var(--accent-color);
        color: var(--primary-contrast);
        transform: translateY(-2px);
        box-shadow: 0 6px 36px 0 var(--accent-shadow);
    }

@media (max-width: 800px) {
    .sales-hero-section {
        min-height: 210px;
    }

    .sales-hero-title {
        font-size: 1.35rem;
    }

    .sales-hero-container {
        max-width: 100vw;
    }
}

/* These ensure no template-level background color leaks through */
.sales-hero-section,
.sales-hero-section.section,
.sales-hero-section.hero-card,
.sales-hero-section.section.hero-card {
    background: transparent;
}

.tenant-theme {
    background: transparent;
}
