.ocf-hero {
    --hero-heading-size: var(--font-h1-size);
    --hero-heading-color: var(--ocf-heading-alt);
    --hero-intro-size: var(--font-h3-size);
    --hero-intro-color: var(--ocf-body-alt);
    --hero-rating-color: var(--ocf-heading-alt);
    --hero-check-color: var(--ocf-primary);
    --hero-check-mark-color: var(--ocf-primary-contrast, var(--ocf-bg));
    --hero-gradient: var(--gradient-media-dark);
    --hero-overlay-opacity: max(0.88, var(--media-overlay-opacity));
    position: relative;
    min-height: min(900px, calc(100vh - 4.5rem));
    display: grid;
    align-items: center;
    overflow: hidden;
    background: var(--ocf-bg);
}

.ocf-hero__media,
.ocf-hero__shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ocf-hero__media {
    opacity: 1;
}

.ocf-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ocf-hero__shade {
    background: var(--section-gradient, var(--hero-gradient));
    opacity: var(--section-overlay-opacity, var(--hero-overlay-opacity));
}

.ocf-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 520px);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    padding-block: var(--section-pad);
}

.ocf-hero .ocf-hero__grid {
    padding-block: clamp(6rem, 12vh, 8.5rem) clamp(5.5rem, 10vh, 7.5rem);
}

.ocf-hero__content { max-width: 720px; }
.ocf-hero__rating { color: var(--hero-rating-color); }
.ocf-hero__headline {
    margin: 0;
    color: var(--field-color, var(--hero-heading-color));
    font-family: var(--ocf-font-heading), system-ui, sans-serif;
    font-size: var(--field-font-size, var(--hero-heading-size));
    font-weight: var(--field-font-weight, var(--font-weight-bold));
    font-style: var(--field-font-style, normal);
    line-height: 1.08;
    letter-spacing: 0;
    text-decoration: var(--field-text-decoration, none);
}
.ocf-hero__intro { color: var(--field-color, var(--hero-intro-color)); }
.ocf-hero__rating {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    font-size: var(--font-label-size);
    line-height: 1;
}
.ocf-hero__stars {
    display: inline-flex;
    align-items: center;
    gap: 0.125rem;
    color: #FBBF24;
    font-size: 1.18em;
    line-height: 1;
}
.ocf-hero__stars svg {
    display: block;
    width: 1em;
    height: 1em;
}
.ocf-hero__star {
    position: relative;
    display: block;
    width: 1em;
    height: 1em;
    color: inherit;
}
.ocf-hero__star-empty {
    opacity: .24;
}
.ocf-hero__star-fill {
    position: absolute;
    inset: 0;
    width: 1em;
    overflow: hidden;
    opacity: 1;
    clip-path: inset(0 calc(100% - var(--star-fill, 0%)) 0 0);
}
.ocf-hero__headline span { display: block; }
.ocf-hero__intro {
    max-width: 58ch;
    margin: 1.25rem 0 0;
    color: var(--field-color, var(--hero-intro-color));
    font-size: var(--field-font-size, var(--hero-intro-size));
}
.ocf-hero__checks {
    display: grid;
    gap: 0.7rem;
    max-width: 58ch;
    margin: 1.35rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--hero-intro-color);
    font-size: var(--font-body-size);
    font-weight: var(--ocf-font-body-weight, var(--font-weight-medium));
}
.ocf-hero__checks li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.ocf-hero__check-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 1.45rem;
    height: 1.45rem;
    min-width: 1.45rem;
    max-width: 1.45rem;
    max-height: 1.45rem;
    border-radius: 50%;
    background: var(--hero-check-color);
    color: var(--hero-check-mark-color);
    box-shadow: 0 0.25rem 0.75rem color-mix(in srgb, var(--hero-check-color) 22%, transparent);
    overflow: hidden;
}
.ocf-hero__check-icon svg {
    display: block;
    width: 0.82rem !important;
    height: 0.82rem !important;
    max-width: 0.82rem;
    max-height: 0.82rem;
    flex: 0 0 auto;
}

.ocf-hero__checks li > span:not(.ocf-hero__check-icon) {
    color: var(--hero-intro-color);
}
.ocf-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.ocf-hero__form { width: 100%; align-self: start; margin-top: 0.25rem; }

.ocf-hero__scroll-cue {
    display: none;
}

.ocf-hero__rating--google {
    margin: 0 0 1rem;
    gap: 0.75rem;
    color: var(--ocf-heading);
}

.ocf-hero__google-icon {
    inline-size: 1.35rem;
    block-size: 1.35rem;
}

.ocf-hero__secondary-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    color: var(--ocf-heading);
    border-bottom: 1px solid currentColor;
    font-size: var(--font-label-size);
    font-weight: var(--font-weight-semibold);
    line-height: 1;
}

.ocf-hero[data-ocf-tone="light"] {
    --hero-heading-color: var(--ocf-heading);
    --hero-intro-color: var(--ocf-body);
    --hero-rating-color: var(--ocf-heading);
    background: var(--ocf-bg);
    color: var(--ocf-body);
}

@media (max-width: 900px){
    .ocf-hero { min-height: auto; }
    .ocf-hero__grid { grid-template-columns: 1fr; }
    .ocf-hero .ocf-hero__grid {
        padding-block: clamp(3.5rem, 10vw, 5rem);
    }

}

/* OCF_AGENT_BLOCK:remove-dark-hero-overlay START */
/* Keep the jobsite image unobscured while using a light content surface for dependable text contrast. */
.ocf-hero {
    --hero-overlay-opacity: 0;
}

.ocf-hero__shade {
    display: none;
}

.ocf-hero__content {
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid color-mix(in srgb, var(--ocf-border) 70%, transparent);
    border-radius: var(--card-radius-lg);
    background: color-mix(in srgb, var(--ocf-bg) 92%, transparent);
    color: var(--ocf-body);
}

.ocf-hero__content .ocf-hero__headline,
.ocf-hero__content .ocf-hero__rating,
.ocf-hero__content .ocf-hero__secondary-link {
    color: var(--ocf-heading);
}

.ocf-hero__content .ocf-hero__intro,
.ocf-hero__content .ocf-hero__checks,
.ocf-hero__content .ocf-hero__checks li > span:not(.ocf-hero__check-icon) {
    color: var(--ocf-body);
}

@media (max-width: 900px) {
    .ocf-hero__content {
        padding: clamp(1.25rem, 5vw, 1.75rem);
    }
}
/* OCF_AGENT_BLOCK:remove-dark-hero-overlay END */

/* OCF_AGENT_BLOCK:industrial-jobsite-hero START */
/* Industrial jobsite hero: clear information hierarchy, robust surfaces, and visible field-work imagery. */
.ocf-hero {
    --hero-heading-size: clamp(2.35rem, 4.6vw, 4.65rem);
}

.ocf-hero__media img {
    filter: saturate(0.9) contrast(1.08);
}

.ocf-hero__grid {
    gap: clamp(1.5rem, 4vw, 3.5rem);
}

.ocf-hero__content {
    position: relative;
    max-width: 44rem;
    padding: clamp(1.5rem, 3.2vw, 2.75rem);
    border: 1px solid color-mix(in srgb, var(--ocf-border) 88%, transparent);
    border-left: 0.35rem solid var(--ocf-primary);
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--ocf-bg) 95%, transparent);
    box-shadow: 0 1.25rem 3.5rem color-mix(in srgb, var(--ocf-heading) 15%, transparent);
}

.ocf-hero__content::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 5.5rem;
    height: 0.35rem;
    background: var(--ocf-primary);
}

.ocf-hero__rating {
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--ocf-border-light);
    font-weight: var(--font-weight-semibold);
}

.ocf-hero__eyebrow {
    margin: 1.15rem 0 0.65rem;
    color: var(--ocf-primary);
    font-size: var(--font-label-size);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ocf-hero__headline {
    max-width: 14ch;
    letter-spacing: -0.035em;
}

.ocf-hero__intro {
    max-width: 52ch;
    line-height: 1.58;
}

.ocf-hero__checks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 1.65rem;
    border-block: 1px solid var(--ocf-border-light);
}

.ocf-hero__checks li {
    min-height: 4.3rem;
    padding: 0.85rem 0.8rem;
    border-left: 1px solid var(--ocf-border-light);
    font-size: var(--font-label-size);
    line-height: 1.35;
}

.ocf-hero__checks li:first-child {
    border-left: 0;
    padding-left: 0;
}

.ocf-hero__check-icon {
    width: 1.25rem;
    height: 1.25rem;
    min-width: 1.25rem;
    border-radius: var(--radius-sm);
    box-shadow: none;
}

.ocf-hero__actions .btn-primary {
    min-height: 3.35rem;
    border-radius: var(--radius-sm);
    font-weight: var(--font-weight-bold);
}

.ocf-hero__form {
    border-top: 0.35rem solid var(--ocf-primary);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 1.25rem 3.5rem color-mix(in srgb, var(--ocf-heading) 18%, transparent);
}

@media (max-width: 700px) {
    .ocf-hero__checks {
        grid-template-columns: 1fr;
    }

    .ocf-hero__checks li,
    .ocf-hero__checks li:first-child {
        min-height: 0;
        padding: 0.75rem 0;
        border-top: 1px solid var(--ocf-border-light);
        border-left: 0;
    }

    .ocf-hero__checks li:first-child {
        border-top: 0;
    }
}
/* OCF_AGENT_BLOCK:industrial-jobsite-hero END */

/* OCF_AGENT_BLOCK:hero-content-surface-transparency START */
/* Let the jobsite image show through the home hero's text surface while preserving high-contrast copy. */
.ocf-hero__content {
    background: rgb(255 255 255 / 78%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

@media (max-width: 700px) {
    .ocf-hero__content {
        background: rgb(255 255 255 / 86%);
    }
}
/* OCF_AGENT_BLOCK:hero-content-surface-transparency END */

/* OCF_AGENT_BLOCK:cinematic-overlay-lead-capture START */
/* Keep the homepage image clearly visible while preserving readable white copy on the left. */
.ocf-hero {
  --hero-overlay-opacity: 1;
  min-height: min(860px, calc(100vh - var(--nav-height, 4.5rem)));
  background: var(--ocf-bg-dark);
}

.ocf-hero__media img { filter: saturate(.94) contrast(1.03) brightness(.96); }

.ocf-hero__shade {
  display: block;
  background: linear-gradient(90deg, rgb(20 20 21 / .70) 0%, rgb(20 20 21 / .56) 34%, rgb(20 20 21 / .28) 62%, rgb(20 20 21 / .08) 100%);
  opacity: 1;
}

.ocf-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(360px, 460px); gap: clamp(2.5rem, 6vw, 6rem); }
.ocf-hero__content { max-width: 46rem; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; color: var(--ocf-body-alt); }
.ocf-hero__content::before { display: none; }
.ocf-hero__content .ocf-hero__headline, .ocf-hero__content .ocf-hero__rating { color: var(--ocf-heading-alt); }
.ocf-hero__content .ocf-hero__intro, .ocf-hero__content .ocf-hero__checks, .ocf-hero__content .ocf-hero__checks li > span:not(.ocf-hero__check-icon) { color: var(--ocf-body-alt); }
.ocf-hero__eyebrow { margin: 0 0 .75rem; color: var(--ocf-primary); letter-spacing: .12em; }
.ocf-hero__headline { max-width: 13ch; font-size: clamp(2.7rem, 5.1vw, 5.2rem); letter-spacing: -.045em; }
.ocf-hero__intro { max-width: 53ch; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.65; }
.ocf-hero__checks { grid-template-columns: 1fr; gap: .85rem; margin-top: 1.6rem; border: 0; }
.ocf-hero__checks li, .ocf-hero__checks li:first-child { min-height: 0; padding: 0; border: 0; font-size: .98rem; }
.ocf-hero__check-icon { border-radius: 50%; background: var(--ocf-primary); }
.ocf-hero__form { align-self: center; margin: 0; border: 0; border-radius: 0; box-shadow: 0 1.5rem 4rem rgb(0 0 0 / .20); }
.ocf-hero__form .ocf-contact-form { background: var(--ocf-bg); }

@media (max-width: 900px) {
  .ocf-hero__shade { background: linear-gradient(180deg, rgb(20 20 21 / .66), rgb(20 20 21 / .42)); }
  .ocf-hero__grid { grid-template-columns: 1fr; gap: 2rem; }
  .ocf-hero__headline { max-width: 15ch; }
  .ocf-hero__form { max-width: 38rem; }
}
@media (max-width: 560px) { .ocf-hero .ocf-hero__grid { padding-block: 4.5rem 3rem; } .ocf-hero__headline { font-size: clamp(2.45rem, 12vw, 3.5rem); } }
/* OCF_AGENT_BLOCK:cinematic-overlay-lead-capture END */
