/* Inner-page hero — one step below full electricalworks scale */
.hero-container.hero-local {
    height: 70vh;
    min-height: 70vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: #1a3528;
    background-size: cover;
    background-position: center;
    overflow: visible;
    z-index: 0;
    padding: 0;
    box-sizing: border-box;
}

.hero-container.hero-local .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-container.hero-local .hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    padding: 0 5rem;
    margin: 0;
}

.hero-container.hero-local .hero-text {
    flex-basis: 70%;
}

.hero-container.hero-local .hero-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    min-height: 6.75rem;
    box-sizing: border-box;
    color: #FFFFFF;
    text-shadow: -1.5px -1.5px 0 #000, 1.5px -1.5px 0 #000, -1.5px 1.5px 0 #000, 1.5px 1.5px 0 #000, 0 0 8px rgba(0, 0, 0, 0.7);
    text-align: left;
    margin: 0;
}

.hero-container.hero-local .hero-cta-bar {
    position: absolute;
    bottom: 42px;
    right: 30px;
    z-index: 3;
    padding: 0;
    margin: 0;
    display: block;
}

.hero-container.hero-local .hero-cta-bar .hero-cta-button,
.hero-container.hero-local > .hero-cta-button {
    position: static;
    bottom: auto;
    right: auto;
    transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #FFBD59;
    color: #FFFFFF;
    padding: 22px 32px;
    min-height: 3.5rem;
    border: 4px solid #FFFFFF;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(0.62rem, 1.05vw, 0.9rem);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.25;
    text-align: center;
    max-width: min(calc(100vw - 32px), 24rem);
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.hero-container.hero-local .hero-cta-bar .hero-cta-button:hover,
.hero-container.hero-local > .hero-cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    background-color: #e6a23c;
    color: #FFFFFF;
    border-color: #FFFFFF;
}

@media (max-width: 768px) {
    .hero-container.hero-local {
        height: 50vh;
        min-height: 50vh;
    }

    .hero-container.hero-local .hero-content {
        padding: 0 1.5rem;
    }

    .hero-container.hero-local .hero-text {
        flex-basis: 100%;
    }

    .hero-container.hero-local .hero-text h1 {
        font-size: clamp(1.75rem, 6vw, 2.4rem);
    }

    .hero-container.hero-local .hero-cta-bar {
        bottom: 20px;
        right: 12px;
    }

    .hero-container.hero-local .hero-cta-bar .hero-cta-button,
    .hero-container.hero-local > .hero-cta-button {
        padding: 11px 14px;
        border-width: 3px;
        font-size: clamp(0.55rem, 2.7vw, 0.8rem);
        max-width: calc(100vw - 20px);
    }
}
