﻿/* --- Sales Hero: Global Dark Overlay + White Text --- */
.sales-hero-section {
    position: relative;
    padding: 5rem 0 4rem 0;
    background: linear-gradient(111deg, var(--section-bg-1, #f3f8fc) 0%, var(--section-bg-2, #f8fcf3) 100%);
    text-align: center;
    min-height: 360px;
    overflow: hidden;
    border-radius: 32px;
    margin-bottom: 1rem;
    box-shadow: 0 12px 40px 0 var(--primary-shadow, rgba(0,112,185,0.10)), 0 2px 8px 0 rgba(0,0,0,0.04);
}

    .sales-hero-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(12, 19, 39, 0.86); /* Deep navy/black overlay */
        opacity: 1;
        border-radius: 32px;
        z-index: 0;
        transition: opacity 0.4s;
        /* The background image is set inline from Razor, not CSS. */
    }

.sales-hero-container {
    position: relative;
    z-index: 1;
    background: none;
    box-shadow: none;
    max-width: 900px;
    margin: 0 auto;
}

.sales-hero-title,
.sales-hero-highlight,
.sales-hero-subtitle {
    color: #fff !important;
    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: 'Montserrat', 'DM Sans', sans-serif;
    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: 'DM Sans', system-ui, sans-serif;
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 2rem;
    text-align: center;
}

.sales-hero-cta {
    margin-top: 1rem;
    font-family: 'Montserrat', 'DM Sans', system-ui, sans-serif;
    background: var(--primary-color) !important;
    color: #fff !important;
    padding: 1em 2.6em;
    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, rgba(0,112,185,0.11));
    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) !important;
        color: #fff !important;
        transform: scale(1.03);
        box-shadow: 0 6px 36px 0 var(--accent-shadow, rgba(86,192,69,0.13));
    }

@media (max-width: 800px) {
    .sales-hero-section {
        padding: 2.2rem 0 2.2rem 0;
        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 !important;
}

.tenant-theme {
    background: transparent !important;
}
